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

ruby-changes:69544

From: nagachika <ko1@a...>
Date: Sun, 31 Oct 2021 13:29:30 +0900 (JST)
Subject: [ruby-changes:69544] b1696c87d3 (ruby_3_0): test_gc.rb: relax criterion

https://git.ruby-lang.org/ruby.git/commit/?id=b1696c87d3

From b1696c87d31d30a64c93d7d4d9c948f383a9da11 Mon Sep 17 00:00:00 2001
From: nagachika <nagachika@r...>
Date: Sun, 31 Oct 2021 13:29:01 +0900
Subject: 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 1f75a34cace..01df198b0d2 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -321,7 +321,7 @@ class TestGc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc.rb#L321
     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 6c9a09d458a..d909e5763c5 100644
--- a/version.h
+++ b/version.h
@@ -12,11 +12,11 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L12
 # 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"
 
-- 
cgit v1.2.1


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

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