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:
parent
2bcff78b42
commit
ffe2c179e4
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue