[前][次][番号順一覧][スレッド一覧]

ruby-changes:69655

From: Yusuke <ko1@a...>
Date: Tue, 9 Nov 2021 14:40:46 +0900 (JST)
Subject: [ruby-changes:69655] 1290bdf1ae (master): test/ruby/test_fiber.rb: Extend timeout on Solaris

https://git.ruby-lang.org/ruby.git/commit/?id=1290bdf1ae

From 1290bdf1aeeefa5c7855b9654cc8aa9e1e740f45 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Tue, 9 Nov 2021 14:39:39 +0900
Subject: 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.
---
 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 67fef33b85f..a0fd4a7491c 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: (/solaris/i =~ RUBY_PLATFORM ? 300 : 60)
+    assert_normal_exit <<-SRC, timeout: (/solaris/i =~ RUBY_PLATFORM ? 1000 : 60)
       max = 1000
       @cnt = 0
       (1..100).map{|ti|
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]