aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_gc.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-10 06:00:57 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-10 06:00:57 +0000
commit679b1c4ebf35e24729a19aaafe87b8d76fff4463 (patch)
treeee0d4684de0272799f8f6321f910254ce91a5ef3 /test/ruby/test_gc.rb
parente0aacec0d21355d0a0afe951c394e91ebdd15df4 (diff)
downloadruby-679b1c4ebf35e24729a19aaafe87b8d76fff4463.tar.gz
* test/ruby/test_gc.rb (test_expand_heap): relax condition (1->2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_gc.rb')
-rw-r--r--test/ruby/test_gc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb
index ff0696bce5..f7ee182e83 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -289,7 +289,7 @@ class TestGc < Test::Unit::TestCase
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 = []