1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_io_wait.rb: try to stabilize test_wait_readable

that randomly fails
https://rubyci.org/logs/mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/log/20181231T103312Z.fail.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2018-12-31 12:54:40 +00:00
parent d7c7382f7a
commit 271c8f5d06

View file

@ -83,7 +83,7 @@ class TestIOWait < Test::Unit::TestCase
def test_wait_readable
assert_nil @r.wait_readable(0)
@w.syswrite "."
sleep 0.1
IO.select([@r])
assert_equal @r, @r.wait_readable(0)
end