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

ruby-changes:31932

From: nobu <ko1@a...>
Date: Thu, 5 Dec 2013 20:57:37 +0900 (JST)
Subject: [ruby-changes:31932] nobu:r44011 (trunk): test_gc.rb: expand timeout

nobu	2013-12-05 20:57:32 +0900 (Thu, 05 Dec 2013)

  New Revision: 44011

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44011

  Log:
    test_gc.rb: expand timeout
    
    * test/ruby/test_gc.rb (test_sweep_in_finalizer): expand timeout for
      slower machines.

  Modified files:
    trunk/test/ruby/test_gc.rb
Index: test/ruby/test_gc.rb
===================================================================
--- test/ruby/test_gc.rb	(revision 44010)
+++ test/ruby/test_gc.rb	(revision 44011)
@@ -252,7 +252,7 @@ class TestGc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc.rb#L252
   def test_sweep_in_finalizer
     bug9205 = '[ruby-core:58833] [Bug #9205]'
     2.times do
-      assert_ruby_status([], <<-'end;', bug9205)
+      assert_ruby_status([], <<-'end;', bug9205, timeout: 30)
         raise_proc = proc do |id|
           GC.start
         end

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

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