diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-04-14 02:31:50 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-04-14 02:31:50 +0000 |
commit | 3b48d6c823a7da34c0b37d8eb3c11964c4a3ba89 (patch) | |
tree | 507a76e14c67dd6471ecddcbb12652366734a1c8 | |
parent | f36f7584b766cb5d558fcfa94ea639e6090bcb54 (diff) | |
download | kgio-3b48d6c823a7da34c0b37d8eb3c11964c4a3ba89.tar.gz |
Some systems are slower than others...
-rw-r--r-- | test/test_autopush.rb | 2 |
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 |