summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-04-20 18:04:12 -0500
committerGitHub <noreply@github.com>2018-04-20 18:04:12 -0500
commit6b11a5ff138ff695a93b2367bc19f0315ee88ba6 (patch)
tree63a0b3759ece09541f7ef96608da5456eee21217 /nixos/tests
parent0d8e415d6bf904fc0316f0f860c06c9c5e31b13e (diff)
parent9d5af5871d7099185d35c836934fc5b551a0080a (diff)
downloadnixlib-6b11a5ff138ff695a93b2367bc19f0315ee88ba6.tar
nixlib-6b11a5ff138ff695a93b2367bc19f0315ee88ba6.tar.gz
nixlib-6b11a5ff138ff695a93b2367bc19f0315ee88ba6.tar.bz2
nixlib-6b11a5ff138ff695a93b2367bc19f0315ee88ba6.tar.lz
nixlib-6b11a5ff138ff695a93b2367bc19f0315ee88ba6.tar.xz
nixlib-6b11a5ff138ff695a93b2367bc19f0315ee88ba6.tar.zst
nixlib-6b11a5ff138ff695a93b2367bc19f0315ee88ba6.zip
Merge pull request #38979 from xeji/tests-systemd
nixos/tests/systemd: fix broken test
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/systemd.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/systemd.nix b/nixos/tests/systemd.nix
index 2df6f341c4ef..65aa553b3148 100644
--- a/nixos/tests/systemd.nix
+++ b/nixos/tests/systemd.nix
@@ -46,6 +46,8 @@ import ./make-test.nix {
 
   testScript = ''
     $machine->waitForX;
+    # wait for user services
+    $machine->waitForUnit("default.target","alice");
 
     # Regression test for https://github.com/NixOS/nixpkgs/issues/35415
     subtest "configuration files are recognized by systemd", sub {