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

ruby-changes:60470

From: Yusuke <ko1@a...>
Date: Sun, 22 Mar 2020 22:01:26 +0900 (JST)
Subject: [ruby-changes:60470] 6ab7d439f8 (master): test/ruby/test_fiber.rb (test_many_fibers_with_threads): relax timeout

https://git.ruby-lang.org/ruby.git/commit/?id=6ab7d439f8

From 6ab7d439f8d43234004e1760aa88a98c29129006 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Sun, 22 Mar 2020 21:58:18 +0900
Subject: test/ruby/test_fiber.rb (test_many_fibers_with_threads): relax
 timeout

This test takes 40..50 seconds under Solaris 11, so the timeout (60
seconds) was too strict.  This change increases it to 180 seconds.

https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11-gcc/ruby-master/log/20200322T100007Z.fail.html.gz
```
  1) Error:
TestFiber#test_many_fibers_with_threads:
Timeout::Error: execution of assert_normal_exit expired timeout (60 sec)
```

diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb
index a7ed9ac..947e75a 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: 60
+    assert_normal_exit <<-SRC, timeout: 180
       max = 1000
       @cnt = 0
       (1..100).map{|ti|
-- 
cgit v0.10.2


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

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