about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2022-01-16 00:24:03 +0100
committerGitHub <noreply@github.com>2022-01-16 00:24:03 +0100
commit5cd5fb71bc190ba84a5e562cc7d12831733287cf (patch)
tree92ea4071cc57ec00e9225f8a09f628a0463d68d1 /nixos/tests
parent826f6dfb2620aa231f39ffad46591bc4904c3c9b (diff)
parente9ebd5e90ed786599c9a8ddbf8b89ed23a688db6 (diff)
Merge pull request #150980 from ncfavier/gdm-test
nixosTests.gnome: add autologin delay to catch GDM failures
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/gnome.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/gnome.nix b/nixos/tests/gnome.nix
index 06f387ecad67d..4471126902a69 100644
--- a/nixos/tests/gnome.nix
+++ b/nixos/tests/gnome.nix
@@ -18,6 +18,8 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {
           enable = true;
           user = "alice";
         };
+        # Catch GDM failures that don't happen with AutomaticLoginEnable, e.g. https://github.com/NixOS/nixpkgs/issues/149539
+        gdm.autoLogin.delay = 1;
       };
 
       services.xserver.desktopManager.gnome.enable = true;