summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/ssh.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocol-tests/ssh.rb')
-rwxr-xr-xlib/custodian/protocol-tests/ssh.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocol-tests/ssh.rb b/lib/custodian/protocol-tests/ssh.rb
index 870be32..801a381 100755
--- a/lib/custodian/protocol-tests/ssh.rb
+++ b/lib/custodian/protocol-tests/ssh.rb
@@ -73,7 +73,7 @@ class SSHTest
puts "ssh testing host #{host}:#{port}" if ( @test_data['verbose'] )
begin
- timeout(@test_data["timeout"]) do
+ timeout(@test_data["timeout"].to_i) do
begin
socket = TCPSocket.new( host, port )