summaryrefslogtreecommitdiffstats
path: root/nixos/tests/atd.nix
diff options
context:
space:
mode:
authorUli Baum <xeji@cat3.de>2018-09-21 09:22:03 +0200
committerUli Baum <xeji@cat3.de>2018-09-21 09:22:03 +0200
commit8ffd65b12e7eeb74ddec11efd9fc3b49bbd568ea (patch)
tree3ffba9c24c41b5409e6d36fd4f5b6419c16d65ae /nixos/tests/atd.nix
parentfab901ddd3d034c53901c640d9787c0794d1bcad (diff)
nixos/tests/atd: wait for atd to start
The test failed non-deterministically when an at command was issued before the atd daemon was running.
Diffstat (limited to 'nixos/tests/atd.nix')
-rw-r--r--nixos/tests/atd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/atd.nix b/nixos/tests/atd.nix
index 9f367d4c1d2a..25db72799241 100644
--- a/nixos/tests/atd.nix
+++ b/nixos/tests/atd.nix
@@ -16,6 +16,7 @@ import ./make-test.nix ({ pkgs, ... }:
testScript = ''
startAll;
+ $machine->waitForUnit('atd.service'); # wait for atd to start
$machine->fail("test -f ~root/at-1");
$machine->fail("test -f ~alice/at-1");