summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/rinda/test_rinda.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index bf110307497..dcd6001884c 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -822,6 +822,7 @@ 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)