From b1696c87d31d30a64c93d7d4d9c948f383a9da11 Mon Sep 17 00:00:00 2001 From: nagachika Date: Sun, 31 Oct 2021 13:29:01 +0900 Subject: [PATCH] test_gc.rb: relax criterion --- test/ruby/test_gc.rb | 2 +- version.h | 4 ++-- 2 files changed, 3 insertions(+), 3 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 = [] diff --git a/version.h b/version.h index 6c9a09d458..d909e5763c 100644 --- a/version.h +++ b/version.h @@ -12,11 +12,11 @@ # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR #define RUBY_VERSION_TEENY 3 #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 147 +#define RUBY_PATCHLEVEL 148 #define RUBY_RELEASE_YEAR 2021 #define RUBY_RELEASE_MONTH 10 -#define RUBY_RELEASE_DAY 30 +#define RUBY_RELEASE_DAY 31 #include "ruby/version.h"