summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-07 13:57:27 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-07 13:57:27 +0000
commit8ca727d80f9b25046f85d6cd2e1f68d2fa001760 (patch)
treebfe5e4fe2315ed1073f9fe4727739f79d8172357 /test/rinda
parent910b13fe51891cd6a7e2c391e9d9278f0a5b013a (diff)
test_rinda.rb: give up stabilizing this test
on --jit-wait. It's randomly failing and it's unlikely to be detecting any MJIT's bug. https://app.wercker.com/ruby/ruby/runs/mjit-test2/5c5c2339940b5200f01a0822?step=5c5c2b9fcfa0fc000741d940 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index dcd6001884c..3e569dca9e9 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -657,6 +657,7 @@ class TestRingServer < Test::Unit::TestCase
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}
end
@@ -788,7 +789,6 @@ class TestRingServer < Test::Unit::TestCase
private
def with_timeout(n)
- n *= 10 if RubyVM::MJIT.enabled? # for --jit-wait
aoe = Thread.abort_on_exception
Thread.abort_on_exception = true
tl0 = Thread.list
@@ -822,7 +822,6 @@ class TestRingServer < Test::Unit::TestCase
end
def wait_for(n)
- n *= 10 if RubyVM::MJIT.enabled? # for --jit-wait
t = n + Process.clock_gettime(Process::CLOCK_MONOTONIC, :second)
until yield
if t < Process.clock_gettime(Process::CLOCK_MONOTONIC, :second)