From 173ad5202b29f350b61c5f64d952ff96bbf7c98d Mon Sep 17 00:00:00 2001 From: k0kubun Date: Tue, 5 Feb 2019 11:45:52 +0000 Subject: test_rinda.rb: extend timeout of wait_for as well https://app.wercker.com/ruby/ruby/runs/mjit-test2/5c5961adb18ed400951edeeb?step=5c596fd563e946000717df91 see also: r67003 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rinda/test_rinda.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/rinda') 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) -- cgit v1.2.3