nixosTests.vector: fix race condition
This commit is contained in:
parent
8989ea2778
commit
3142dd9827
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ with pkgs.lib;
|
|||
# ensure vector is forwarding the messages appropriately
|
||||
testScript = ''
|
||||
machine.wait_for_unit("vector.service")
|
||||
machine.succeed("test -f /var/lib/vector/logs.log")
|
||||
machine.wait_for_file("/var/lib/vector/logs.log")
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue