[前][次][番号順一覧][スレッド一覧]

ruby-changes:52031

From: normal <ko1@a...>
Date: Thu, 9 Aug 2018 17:51:28 +0900 (JST)
Subject: [ruby-changes:52031] normal:r64247 (trunk): test/io/wait/test_io_wait_uncommon.rb (test_tty_wait): increase timeout

normal	2018-08-09 17:51:22 +0900 (Thu, 09 Aug 2018)

  New Revision: 64247

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64247

  Log:
    test/io/wait/test_io_wait_uncommon.rb (test_tty_wait): increase timeout
    
    Apparently my tty can't keep up when I run test-all with
    TESTS='-v --no-retry'

  Modified files:
    trunk/test/io/wait/test_io_wait_uncommon.rb
Index: test/io/wait/test_io_wait_uncommon.rb
===================================================================
--- test/io/wait/test_io_wait_uncommon.rb	(revision 64246)
+++ test/io/wait/test_io_wait_uncommon.rb	(revision 64247)
@@ -12,7 +12,7 @@ class TestIOWaitUncommon < Test::Unit::T https://github.com/ruby/ruby/blob/trunk/test/io/wait/test_io_wait_uncommon.rb#L12
       skip "/dev/tty: #{e.message} (#{e.class})"
     end
     assert_include [ nil, tty ], tty.wait_readable(0)
-    assert_equal tty, tty.wait_writable(0), 'portability test'
+    assert_equal tty, tty.wait_writable(1), 'portability test'
   ensure
     tty&.close
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]