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

* test/io/wait/test_io_wait.rb (TestIOWait#test_wait_writable_timeout): give

OS more time to clean up the file descriptor.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2013-01-11 07:11:54 +00:00
parent 2bcff78b42
commit ffe2c179e4

View file

@ -76,11 +76,11 @@ class TestIOWait < Test::Unit::TestCase
end
def test_wait_writable_timeout
assert_equal @w, @w.wait_writable(0.001)
assert_equal @w, @w.wait_writable(0.01)
written = fill_pipe
assert_nil @w.wait_writable(0.001)
assert_nil @w.wait_writable(0.01)
@r.read(written)
assert_equal @w, @w.wait_writable(0.001)
assert_equal @w, @w.wait_writable(0.01)
end
def test_wait_writable_EPIPE