ruby-changes:65628
From: Yusuke <ko1@a...>
Date: Tue, 23 Mar 2021 12:23:34 +0900 (JST)
Subject: [ruby-changes:65628] 17550c6400 (master): test/ruby/test_fiber.rb: relax timeout on Solaris
https://git.ruby-lang.org/ruby.git/commit/?id=17550c6400 From 17550c6400f7fd1ba9985476abf4c92af5393519 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Tue, 23 Mar 2021 12:20:44 +0900 Subject: 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. --- test/ruby/test_fiber.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb index a5e35c0..b2518c3 100644 --- a/test/ruby/test_fiber.rb +++ b/test/ruby/test_fiber.rb @@ -50,7 +50,7 @@ class TestFiber < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_fiber.rb#L50 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| -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/