diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-31 12:54:40 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-31 12:54:40 +0000 |
commit | 271c8f5d06bc92d3d3382fbddae616019555ed91 (patch) | |
tree | 2d877cee1f00857e2485bca890385b64eee506ee | |
parent | d7c7382f7afcba2d74454b24f9d1b9bb761c7242 (diff) | |
download | ruby-271c8f5d06bc92d3d3382fbddae616019555ed91.tar.gz |
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
-rw-r--r-- | test/io/wait/test_io_wait.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/io/wait/test_io_wait.rb b/test/io/wait/test_io_wait.rb index 2c1073d104..50c06976b8 100644 --- a/test/io/wait/test_io_wait.rb +++ b/test/io/wait/test_io_wait.rb @@ -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 |