Skip to content
Snippets Groups Projects

Bug: allow `leap test --continue` to run on additional nodes if there was an ssh…

Merged elijah requested to merge elijah/platform:bugfix/testcontinue into master
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -35,7 +35,7 @@ module LeapCli; module Commands
@@ -35,7 +35,7 @@ module LeapCli; module Commands
SSH::remote_command(node, options) do |ssh, host|
SSH::remote_command(node, options) do |ssh, host|
ssh.stream(test_cmd(options), :raise_error => true, :log_wrap => true)
ssh.stream(test_cmd(options), :raise_error => true, :log_wrap => true)
end
end
rescue LeapCli::SSH::ExecuteError
rescue LeapCli::SSH::TimeoutError, SSHKit::Runner::ExecuteError, SSHKit::Command::Failed
if options[:continue]
if options[:continue]
exit_status(1)
exit_status(1)
else
else
Loading