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:
parent
1d609707b4
commit
1290bdf1ae
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class TestFiber < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_many_fibers_with_threads
|
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
|
max = 1000
|
||||||
@cnt = 0
|
@cnt = 0
|
||||||
(1..100).map{|ti|
|
(1..100).map{|ti|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue