[前][次][番号順一覧][スレッド一覧]

ruby-changes:54793

From: k0kubun <ko1@a...>
Date: Tue, 5 Feb 2019 20:45:58 +0900 (JST)
Subject: [ruby-changes:54793] k0kubun:r67012 (trunk): test_rinda.rb: extend timeout of wait_for as well

k0kubun	2019-02-05 20:45:52 +0900 (Tue, 05 Feb 2019)

  New Revision: 67012

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67012

  Log:
    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

  Modified files:
    trunk/test/rinda/test_rinda.rb
Index: test/rinda/test_rinda.rb
===================================================================
--- test/rinda/test_rinda.rb	(revision 67011)
+++ test/rinda/test_rinda.rb	(revision 67012)
@@ -822,6 +822,7 @@ class TestRingServer < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L822
   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)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]