mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
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.
This commit is contained in:
parent
fab901ddd3
commit
8ffd65b12e
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user