diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2020-03-22 21:58:18 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-03-22 21:58:18 +0900 |
commit | 6ab7d439f8d43234004e1760aa88a98c29129006 (patch) | |
tree | 36b99ac12b9cad7e81dde306d5b06e1b156a764c | |
parent | 91acdd17c4b4bb69a8fa3ada46e09dad46b9362e (diff) | |
download | ruby-6ab7d439f8d43234004e1760aa88a98c29129006.tar.gz |
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)
```
-rw-r--r-- | test/ruby/test_fiber.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb index a7ed9ac7e0..947e75aa2c 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: 60 + assert_normal_exit <<-SRC, timeout: 180 max = 1000 @cnt = 0 (1..100).map{|ti| |