diff options
-rw-r--r-- | test/rinda/test_rinda.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index bf11030749..dcd6001884 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) |