diff --git a/integration-tests/tools.nix b/integration-tests/tools.nix index 3c59120..a1f5df8 100644 --- a/integration-tests/tools.nix +++ b/integration-tests/tools.nix @@ -91,7 +91,7 @@ let ${lib.optionalString (length targets != 0) '' for node in ${targetList}: node.wait_for_unit("sshd.service") - deployer.succeed(f"ssh -o StrictHostKeyChecking=accept-new {node.name} true", timeout=30) + deployer.wait_until_succeeds(f"ssh -o StrictHostKeyChecking=accept-new {node.name} true", timeout=30) ''} deployer.succeed("cp --no-preserve=mode -r ${bundle} /tmp/bundle && chmod u+w /tmp/bundle")