about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--test/test_linux_tcp_info.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_linux_tcp_info.rb b/test/test_linux_tcp_info.rb
index 1751dee..f429d1d 100644
--- a/test/test_linux_tcp_info.rb
+++ b/test/test_linux_tcp_info.rb
@@ -49,7 +49,7 @@ class TestLinuxTCP_Info < Test::Unit::TestCase
     s = TCPServer.new(TEST_ADDR, 0)
     c = TCPSocket.new TEST_ADDR, s.addr[1]
     c.syswrite "."
-    sleep delay
+    sleep(delay * 1.2)
     a = s.accept
     i = Raindrops::TCP_Info.new(a)
     assert i.last_data_recv >= delay_ms, "#{i.last_data_recv} < #{delay_ms}"