mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02: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
|
# ensure vector is forwarding the messages appropriately
|
||||||
testScript = ''
|
testScript = ''
|
||||||
machine.wait_for_unit("vector.service")
|
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