lib/torpedo/compute/servers.rb in torpedo-1.0.8 vs lib/torpedo/compute/servers.rb in torpedo-1.0.9
- old
+ new
@@ -93,11 +93,11 @@
fail('Timeout creating server.')
end
# lookup the first IPv4 address and use that for verification
v4_addresses = server.addresses[:public].reject {|addr| addr.version != 4}
- ping_test(v4_addresses[0].address)
- ssh_test(v4_addresses[0].address)
+ ping_test(v4_addresses[0].address) if TEST_PING
+ ssh_test(v4_addresses[0].address) if TEST_SSH
server
end