summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-01-25 14:14:05 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-01-25 14:14:05 +0900
commitb4711a0fa0d0a8d9a01ac4f9ac1051f192b93cf2 (patch)
tree63002fcfb1d689f6e8a2f97148664719608e47b6 /test/rinda
parent0c436bbfbf3b28fab8abfcbda9b8f388fa22290a (diff)
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 ```
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index 22966532b7b..615bba6623b 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -638,7 +638,7 @@ class TestRingServer < Test::Unit::TestCase
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
@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
@rs.do_reply
- wait_for(10) {called}
+ wait_for(30) {called}
assert_same @ts, called
end