lib/torpedo/compute/servers.rb in torpedo-1.0.11 vs lib/torpedo/compute/servers.rb in torpedo-1.0.12

- old
+ new

@@ -1,6 +1,6 @@ -require File.dirname(__FILE__) + '/helper' +require 'torpedo/compute/helper' require 'tempfile' require 'net/ssh' module Torpedo module Compute @@ -64,10 +64,10 @@ while(1) do begin Net::SSH.start(ip_addr, 'root', ssh_opts) do |ssh| return ssh.exec!(test_cmd) == test_output end - rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH, Net::SSH::Exception + rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH, Errno::ECONNRESET, Net::SSH::Exception next end end end rescue Timeout::Error => te