From ffe2c179e4efb1316436e2f05edaf305ef636333 Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 11 Jan 2013 07:11:54 +0000 Subject: [PATCH] * 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 --- test/io/wait/test_io_wait.rb | 6 +++--- 1 file 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