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

test/ruby/test_fiber.rb: Extend timeout on Solaris

The test usually takes 200 sec. on Solaris, so the timeout of 300 sec.
looks too short.
This commit is contained in:
Yusuke Endoh 2021-11-09 14:39:39 +09:00
parent 1d609707b4
commit 1290bdf1ae

View file

@ -50,7 +50,7 @@ class TestFiber < Test::Unit::TestCase
end
def test_many_fibers_with_threads
assert_normal_exit <<-SRC, timeout: (/solaris/i =~ RUBY_PLATFORM ? 300 : 60)
assert_normal_exit <<-SRC, timeout: (/solaris/i =~ RUBY_PLATFORM ? 1000 : 60)
max = 1000
@cnt = 0
(1..100).map{|ti|