nixos/test/systemd: fix broken test

timing bug resulted in sporadic test failures on hydra

(cherry picked from commit 9d5af5871d7099185d35c836934fc5b551a0080a)
release-18.03-flake
xeji 2018-04-16 00:43:33 +02:00 committed by Uli Baum
parent 6b50b98bf1
commit ef74cafd3e
1 changed files with 2 additions and 0 deletions

View File

@ -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 {