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

ruby-changes:31921

From: nobu <ko1@a...>
Date: Thu, 5 Dec 2013 14:35:42 +0900 (JST)
Subject: [ruby-changes:31921] nobu:r44000 (trunk): test_gc.rb: shorten

nobu	2013-12-05 14:35:34 +0900 (Thu, 05 Dec 2013)

  New Revision: 44000

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

  Log:
    test_gc.rb: shorten
    
    * test/ruby/test_gc.rb (test_sweep_in_finalizer): omit iteration number to 2.

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

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

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