diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-06-24 18:46:14 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-06-24 18:46:47 +0000 |
commit | dcd710c622530052be50b226d245caebb6d2a970 (patch) | |
tree | b394f28c9f023c286e60be8466cd50ecfd75e70d | |
parent | 52ec5be1ba9768499b948186589c1404ccc64724 (diff) | |
download | ruby_io_splice-dcd710c622530052be50b226d245caebb6d2a970.tar.gz |
Apparently timing variations were allowing it to succeed under Ruby 1.8/1.9, but Rubinius tripped and exposed the bug.
-rw-r--r-- | test/test_io_splice.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_io_splice.rb b/test/test_io_splice.rb index f42d5c6..99ae7b5 100644 --- a/test/test_io_splice.rb +++ b/test/test_io_splice.rb @@ -251,7 +251,7 @@ class Test_IO_Splice < Test::Unit::TestCase tmp = [] begin sleep 0.005 - tmp << rd.readpartial(8192, buf) + tmp << rd.readpartial(8192) rescue EOFError break end while true |