ruby-changes:59802
From: Yusuke <ko1@a...>
Date: Sat, 25 Jan 2020 14:16:19 +0900 (JST)
Subject: [ruby-changes:59802] b4711a0fa0 (master): test/rinda/test_rinda.rb: Increase the timeout
https://git.ruby-lang.org/ruby.git/commit/?id=b4711a0fa0 From b4711a0fa0d0a8d9a01ac4f9ac1051f192b93cf2 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Sat, 25 Jan 2020 14:14:05 +0900 Subject: test/rinda/test_rinda.rb: Increase the timeout Attempts to fix a occational failure on Solaris with sunc https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/20200124T160008Z.fail.html.gz ``` 1) Error: Rinda::TestRingServer#test_do_reply: Timeout::Error: timeout ``` diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 2296653..615bba6 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -638,7 +638,7 @@ class TestRingServer < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L638 end def test_do_reply - with_timeout(10) {_test_do_reply} + with_timeout(30) {_test_do_reply} end def _test_do_reply @@ -654,14 +654,14 @@ class TestRingServer < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L654 @rs.do_reply - wait_for(10) {called} + wait_for(30) {called} assert_same @ts, called end def test_do_reply_local skip 'timeout-based test becomes unstable with --jit-wait' if RubyVM::MJIT.enabled? - with_timeout(10) {_test_do_reply_local} + with_timeout(30) {_test_do_reply_local} end def _test_do_reply_local @@ -675,7 +675,7 @@ class TestRingServer < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L675 @rs.do_reply - wait_for(10) {called} + wait_for(30) {called} assert_same @ts, called end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/