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: relax timeout on Solaris

... of test_many_fibers_with_threads because the test seems to take
about 180 sec. on Solaris. This change extends the limit to 300 sec on
Solaris.
BTW, 180 sec. is too long for other normal environments, so this reverts
Related to 6ab7d439f8 for them.
This commit is contained in:
Yusuke Endoh 2021-03-23 12:20:44 +09:00
parent 4bc09c9696
commit 17550c6400

View file

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