3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tests/gnome-flashback: Restore wait_for_x test

Should be passing now.
This commit is contained in:
Bobby Rong 2023-10-06 18:18:23 +08:00
parent ad65c25dfb
commit 3db8e68328
No known key found for this signature in database

View file

@ -32,14 +32,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {
xauthority = "/run/user/${uid}/gdm/Xauthority";
in ''
with subtest("Login to GNOME Flashback with GDM"):
# wait_for_x() checks graphical-session.target, which is expected to be
# inactive on gnome-flashback before #228946 (i.e. systemd managed
# gnome-session) is done.
# https://github.com/NixOS/nixpkgs/pull/208060
#
# Previously this was unconditionally touched by xsessionWrapper but was
# changed in #233981 (we have GNOME-Flashback:GNOME in XDG_CURRENT_DESKTOP).
# machine.wait_for_x()
machine.wait_for_x()
machine.wait_until_succeeds('journalctl -t gnome-session-binary --grep "Entering running state"')
# Wait for alice to be logged in"
machine.wait_for_unit("default.target", "${user.name}")