diff options
author | Uli Baum <xeji@cat3.de> | 2018-09-21 09:22:03 +0200 |
---|---|---|
committer | Uli Baum <xeji@cat3.de> | 2018-09-21 09:22:03 +0200 |
commit | 8ffd65b12e7eeb74ddec11efd9fc3b49bbd568ea (patch) | |
tree | 3ffba9c24c41b5409e6d36fd4f5b6419c16d65ae | |
parent | fab901ddd3d034c53901c640d9787c0794d1bcad (diff) | |
download | nixpkgs-8ffd65b12e7eeb74ddec11efd9fc3b49bbd568ea.tar nixpkgs-8ffd65b12e7eeb74ddec11efd9fc3b49bbd568ea.tar.gz nixpkgs-8ffd65b12e7eeb74ddec11efd9fc3b49bbd568ea.tar.bz2 nixpkgs-8ffd65b12e7eeb74ddec11efd9fc3b49bbd568ea.tar.lz nixpkgs-8ffd65b12e7eeb74ddec11efd9fc3b49bbd568ea.tar.xz nixpkgs-8ffd65b12e7eeb74ddec11efd9fc3b49bbd568ea.tar.zst nixpkgs-8ffd65b12e7eeb74ddec11efd9fc3b49bbd568ea.zip |
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.
-rw-r--r-- | nixos/tests/atd.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/atd.nix b/nixos/tests/atd.nix index 9f367d4c1d2..25db7279924 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"); |