This is an automated email from the ASF dual-hosted git repository. mgrigorov pushed a commit to branch avro-3662-ruby-2.6-wrong-total_retained in repository https://gitbox.apache.org/repos/asf/avro.git
commit a928ff2f9fd4ba14bb21fb98cf277a3e8784746c Author: Martin Tzvetanov Grigorov <[email protected]> AuthorDate: Mon Nov 14 13:44:45 2022 +0200 AVRO-3662: It seems Ruby 2.6 sometimes retains '2' Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> --- lang/ruby/test/test_logical_types.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/ruby/test/test_logical_types.rb b/lang/ruby/test/test_logical_types.rb index 9806eaece..bb3688948 100644 --- a/lang/ruby/test/test_logical_types.rb +++ b/lang/ruby/test/test_logical_types.rb @@ -230,8 +230,8 @@ class TestLogicalTypes < Test::Unit::TestCase end assert_equal 5, report.total_allocated - # Ruby 2.7 does not retain anything. Ruby 2.6 retains 1 - assert_operator 1, :>=, report.total_retained + # Ruby 2.7 does not retain anything. Ruby 2.6 retains 1 or 2 + assert_operator 2, :>=, report.total_retained end end
