Test suite consistently fails on latest flatpak CI template
This seems to happen to every commit recently. see: (1), (2)
Relevant logs:
5/8 geary / js-tests FAIL 0.10s exit status 1
>>> MALLOC_PERTURB_=117 /run/build/geary/_flatpak_build/test/test-js
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
(test-js:20): Gtk-WARNING **: 09:09:40.807: cannot open display:
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
6/8 geary / client-tests FAIL 0.11s exit status 1
>>> MALLOC_PERTURB_=84 /run/build/geary/_flatpak_build/test/test-client
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
(test-client:16): Gtk-WARNING **: 09:09:40.807: cannot open display:
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
The issue seems to be related to this line in test-js.vala and test-client.vala:
Environment.set_variable("GSETTINGS_BACKEND", "memory", true);