mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-08-15 18:20:32 +03:00
nixosTests.vector: fix race condition
This commit is contained in:
parent
8989ea2778
commit
3142dd9827
@ -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 New Issue
Block a user