summaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/test.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2017-08-18 16:05:19 -0700
committerelijah <elijah@riseup.net>2017-08-18 16:05:19 -0700
commit61d8d9e0e35dc9759ec93b517b0a67df1c3506d3 (patch)
treed63e4fbb5408564154cff0f039099e7f7abe420f /lib/leap_cli/commands/test.rb
parentc7657bcba40c936a9b1676374c1489c2f7c25907 (diff)
Bug: allow `leap test --continue` to run on additional nodes if there was an ssh error. closes #8811
Diffstat (limited to 'lib/leap_cli/commands/test.rb')
-rw-r--r--lib/leap_cli/commands/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/test.rb b/lib/leap_cli/commands/test.rb
index 70eb00fd..e2815aae 100644
--- a/lib/leap_cli/commands/test.rb
+++ b/lib/leap_cli/commands/test.rb
@@ -35,7 +35,7 @@ module LeapCli; module Commands
SSH::remote_command(node, options) do |ssh, host|
ssh.stream(test_cmd(options), :raise_error => true, :log_wrap => true)
end
- rescue LeapCli::SSH::ExecuteError
+ rescue LeapCli::SSH::TimeoutError, SSHKit::Runner::ExecuteError, SSHKit::Command::Failed
if options[:continue]
exit_status(1)
else