1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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'

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2018-08-09 08:51:22 +00:00
parent a21b9622f6
commit 15d7adf90e

View file

@ -12,7 +12,7 @@ class TestIOWaitUncommon < Test::Unit::TestCase
skip "/dev/tty: #{e.message} (#{e.class})" skip "/dev/tty: #{e.message} (#{e.class})"
end end
assert_include [ nil, tty ], tty.wait_readable(0) 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 ensure
tty&.close tty&.close
end end