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:
parent
4bc09c9696
commit
17550c6400
1 changed files with 1 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Reference in a new issue