about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorKai Norman Clasen <k.clasen@protonmail.com>2023-05-11 16:50:25 +0200
committerKai Norman Clasen <k.clasen@protonmail.com>2023-05-11 19:45:47 +0200
commit3142dd9827a58824fcf1b76a0caa11efc6e7b2fb (patch)
tree6a4c672b91001cb79dce86c70abfe1409ec71689 /nixos
parent8989ea27780eb8a38086b707226af20bc1c3d604 (diff)
nixosTests.vector: fix race condition
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/vector.nix2
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")
     '';
   };
 }