ruby-changes:26723
From: usa <ko1@a...>
Date: Fri, 11 Jan 2013 16:12:04 +0900 (JST)
Subject: [ruby-changes:26723] usa:r38775 (trunk): * test/io/wait/test_io_wait.rb (TestIOWait#test_wait_writable_timeout): give
usa 2013-01-11 16:11:54 +0900 (Fri, 11 Jan 2013) New Revision: 38775 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38775 Log: * test/io/wait/test_io_wait.rb (TestIOWait#test_wait_writable_timeout): give OS more time to clean up the file descriptor. Modified files: trunk/test/io/wait/test_io_wait.rb Index: test/io/wait/test_io_wait.rb =================================================================== --- test/io/wait/test_io_wait.rb (revision 38774) +++ test/io/wait/test_io_wait.rb (revision 38775) @@ -76,11 +76,11 @@ class TestIOWait < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/io/wait/test_io_wait.rb#L76 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/