summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-11 07:11:54 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-11 07:11:54 +0000
commitffe2c179e4efb1316436e2f05edaf305ef636333 (patch)
tree2dd5451e2be0edaaa0d86aac42bc9a5ca41e3260
parent2bcff78b424a637cf2a057ac901da34fc298094a (diff)
* 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
-rw-r--r--test/io/wait/test_io_wait.rb6
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 6a33e64..46097e0 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