From b885cf9a2ef0864dcebb9bba7b1fcf3eb08f9ae8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 21 Apr 2011 20:06:08 +0000 Subject: test_autopush: attempting to fix a timing test... Not fun on slow systems, unfortunately... --- test/test_autopush.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-ge0c7