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

ruby-changes:40945

From: ko1 <ko1@a...>
Date: Thu, 10 Dec 2015 15:01:22 +0900 (JST)
Subject: [ruby-changes:40945] ko1:r53024 (trunk): * test/ruby/test_gc.rb (test_expand_heap): relax condition (1->2).

ko1	2015-12-10 15:00:57 +0900 (Thu, 10 Dec 2015)

  New Revision: 53024

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

  Log:
    * test/ruby/test_gc.rb (test_expand_heap): relax condition (1->2).

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_gc.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53023)
+++ ChangeLog	(revision 53024)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Dec 10 14:59:59 2015  Koichi Sasada  <ko1@a...>
+
+	* test/ruby/test_gc.rb (test_expand_heap): relax condition (1->2).
+
 Thu Dec 10 14:15:59 2015  SHIBATA Hiroshi  <hsbt@r...>
 
 	* cont.c: fix a double word typo.
Index: test/ruby/test_gc.rb
===================================================================
--- test/ruby/test_gc.rb	(revision 53023)
+++ test/ruby/test_gc.rb	(revision 53024)
@@ -289,7 +289,7 @@ class TestGc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc.rb#L289
     base_length = GC.stat[:heap_eden_pages]
     (base_length * 500).times{ 'a' }
     GC.start
-    assert_in_delta base_length, (v = GC.stat[:heap_eden_pages]), 1,
+    assert_in_delta base_length, (v = GC.stat[:heap_eden_pages]), 2,
            "invalid heap expanding (base_length: #{base_length}, GC.stat[:heap_eden_pages]: #{v})"
 
     a = []

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

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