forked from DGNum/colmena
integration-tests: Add timeouts to SSH invocations
They occasionally become stuck, similar to NixOS/nixpkgs#171488.
This commit is contained in:
parent
f5071dcff2
commit
c1dc482c21
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ let
|
||||||
|
|
||||||
for node in ${targetList}:
|
for node in ${targetList}:
|
||||||
node.wait_for_unit("sshd.service")
|
node.wait_for_unit("sshd.service")
|
||||||
deployer.succeed(f"ssh -o StrictHostKeyChecking=accept-new {node.name} true")
|
deployer.succeed(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")
|
deployer.succeed("cp --no-preserve=mode -r ${bundle} /tmp/bundle && chmod u+w /tmp/bundle")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue