summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2021-03-23 12:20:44 +0900
committerYusuke Endoh <mame@ruby-lang.org>2021-03-23 12:20:44 +0900
commit17550c6400f7fd1ba9985476abf4c92af5393519 (patch)
tree1e2e2195765c0c48ef8c489ec3402d95b1645057 /test
parent4bc09c9696a430a24f9c583668e06b4a2976025b (diff)
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 6ab7d439f8d43234004e1760aa88a98c29129006 for them.
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_fiber.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb
index a5e35c0fd6..b2518c32f0 100644
--- a/test/ruby/test_fiber.rb
+++ b/test/ruby/test_fiber.rb
@@ -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|