diff options
Diffstat (limited to 'test/http.rb')
-rw-r--r-- | test/http.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/http.rb b/test/http.rb index 5b15090..f5a19de 100644 --- a/test/http.rb +++ b/test/http.rb @@ -25,14 +25,7 @@ class TestHTTP < Test::Unit::TestCase @err.close exec(*cmd) } - tries = 300 - begin - sleep 0.05 - @client = TCPSocket.new(@host, @port) - @to_close << @client - break - rescue - end while (tries-=1) > 0 + @client = get_client end def teardown |