You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2022/11/14 11:45:29 UTC
[avro] 01/01: AVRO-3662: It seems Ruby 2.6 sometimes retains '2'
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 <mg...@apache.org>
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 <mg...@apache.org>
---
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