mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/rinda/test_rinda.rb: Increase the timeout
Attempts to fix a occational failure on Solaris with sunc
20200124
T160008Z.fail.html.gz
```
1) Error:
Rinda::TestRingServer#test_do_reply:
Timeout::Error: timeout
```
This commit is contained in:
parent
0c436bbfbf
commit
b4711a0fa0
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue