about summary refs log tree commit diff
path: root/nixos/tests/vector.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/vector.nix')
-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")
     '';
   };
 }