From 9d5af5871d7099185d35c836934fc5b551a0080a Mon Sep 17 00:00:00 2001 From: xeji Date: Mon, 16 Apr 2018 00:43:33 +0200 Subject: [PATCH] nixos/test/systemd: fix broken test timing bug resulted in sporadic test failures on hydra --- nixos/tests/systemd.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/tests/systemd.nix b/nixos/tests/systemd.nix index 2df6f341c4e..65aa553b314 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 {