diff options
author | nagachika <nagachika@ruby-lang.org> | 2021-10-31 13:29:01 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-10-31 13:29:01 +0900 |
commit | b1696c87d31d30a64c93d7d4d9c948f383a9da11 (patch) | |
tree | 2b67009d737d88bc5b75537f3b12383fe5d23bc1 /test | |
parent | 5afb947d724f92cf9c94fcbf331c8d530b8ce710 (diff) |
test_gc.rb: relax criterion
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_gc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 1f75a34cac..01df198b0d 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -321,7 +321,7 @@ class TestGc < Test::Unit::TestCase base_length = GC.stat[:heap_eden_pages] (base_length * 500).times{ 'a' } GC.start - assert_in_epsilon base_length, (v = GC.stat[:heap_eden_pages]), 1/8r, + assert_in_epsilon base_length, (v = GC.stat[:heap_eden_pages]), 1/4r, "invalid heap expanding (base_length: #{base_length}, GC.stat[:heap_eden_pages]: #{v})" a = [] |