mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
nixos/tests/gnome-flashback: Restore wait_for_x test
Should be passing now.
This commit is contained in:
parent
ad65c25dfb
commit
3db8e68328
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user