about summary refs log tree commit homepage
path: root/test/test_autopush.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_autopush.rb')
-rw-r--r--test/test_autopush.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_autopush.rb b/test/test_autopush.rb
index bbd4b46..e549adc 100644
--- a/test/test_autopush.rb
+++ b/test/test_autopush.rb
@@ -94,7 +94,7 @@ class TestAutopush < Test::Unit::TestCase
     @rd.kgio_write "HI\n"
     @wr.kgio_read(3, rbuf)
     diff = Time.now - t0
-    assert(diff >= 0.200, "nopush broken? diff=#{diff} > 200ms")
+    assert_in_delta(diff, 0.200, 0.01, "nopush broken? diff=#{diff} > 200ms")
     assert_equal "HI\n", rbuf
   end