diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-14 20:26:51 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-14 20:26:51 +0000 |
commit | 67ac15a68ab7dee8c0a880c44e8caaaf79b39310 (patch) | |
tree | ffe2cb3ef0d007a5abe6e611b41a25b8acaac772 /lib/custodian/protocol-tests/ssh.rb | |
parent | acf0d8971eb1ce113b7c5f4ec5d26297cddcd657 (diff) |
Ensure that our timeout period is an integer
Diffstat (limited to 'lib/custodian/protocol-tests/ssh.rb')
-rwxr-xr-x | lib/custodian/protocol-tests/ssh.rb | 2 |
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 ) |