diff options
author | Kai Norman Clasen <k.clasen@protonmail.com> | 2023-05-11 16:50:25 +0200 |
---|---|---|
committer | Kai Norman Clasen <k.clasen@protonmail.com> | 2023-05-11 19:45:47 +0200 |
commit | 3142dd9827a58824fcf1b76a0caa11efc6e7b2fb (patch) | |
tree | 6a4c672b91001cb79dce86c70abfe1409ec71689 /nixos | |
parent | 8989ea27780eb8a38086b707226af20bc1c3d604 (diff) |
nixosTests.vector: fix race condition
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/vector.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/vector.nix b/nixos/tests/vector.nix index 9309f6a14dd78..a55eb4e012c5b 100644 --- a/nixos/tests/vector.nix +++ b/nixos/tests/vector.nix @@ -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") ''; }; } |