From e26d29b15c8012197c3ce72fc5dd75652daa38a6 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 14 Nov 2012 20:26:51 +0000 Subject: Ensure that our timeout period is an integer --- lib/custodian/protocol-tests/rsync.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/protocol-tests/rsync.rb') diff --git a/lib/custodian/protocol-tests/rsync.rb b/lib/custodian/protocol-tests/rsync.rb index ab2ed9b..d2a2f45 100755 --- a/lib/custodian/protocol-tests/rsync.rb +++ b/lib/custodian/protocol-tests/rsync.rb @@ -74,7 +74,7 @@ class RSYNCTest puts "rsync 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 ) -- cgit v1.2.1