about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-04-21 20:06:08 +0000
committerEric Wong <normalperson@yhbt.net>2011-04-21 20:06:08 +0000
commitb885cf9a2ef0864dcebb9bba7b1fcf3eb08f9ae8 (patch)
tree00548892190f06319775ade636362cfa0eb30188
parentbe46333541acd72bde3544a3e86f6ead0bb364d0 (diff)
downloadkgio-b885cf9a2ef0864dcebb9bba7b1fcf3eb08f9ae8.tar.gz
Not fun on slow systems, unfortunately...
-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 e549adc..f5d4e4e 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_in_delta(diff, 0.200, 0.01, "nopush broken? diff=#{diff} > 200ms")
+    assert(diff >= 0.190, "nopush broken? diff=#{diff} > 200ms")
     assert_equal "HI\n", rbuf
   end