diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-11 07:11:54 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-11 07:11:54 +0000 |
commit | ffe2c179e4efb1316436e2f05edaf305ef636333 (patch) | |
tree | 2dd5451e2be0edaaa0d86aac42bc9a5ca41e3260 /test/io/wait | |
parent | 2bcff78b424a637cf2a057ac901da34fc298094a (diff) | |
download | ruby-ffe2c179e4efb1316436e2f05edaf305ef636333.tar.gz |
* 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
Diffstat (limited to 'test/io/wait')
-rw-r--r-- | test/io/wait/test_io_wait.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/io/wait/test_io_wait.rb b/test/io/wait/test_io_wait.rb index 6a33e64a8b..46097e00c6 100644 --- a/test/io/wait/test_io_wait.rb +++ b/test/io/wait/test_io_wait.rb @@ -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 |