[
https://issues.apache.org/jira/browse/AVRO-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17633740#comment-17633740
]
ASF subversion and git services commented on AVRO-3662:
-------------------------------------------------------
Commit 35545f9de44658ccf5d28a9caa53a4c4fc73567a in avro's branch
refs/heads/avro-3653-arm64-on-github-actions from Martin Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=35545f9de ]
AVRO-3662: It seems Ruby 2.6 sometimes retains '2' (#1963)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
> [Ruby] Ruby 2.6 CI workflow fails since a while
> -----------------------------------------------
>
> Key: AVRO-3662
> URL: https://issues.apache.org/jira/browse/AVRO-3662
> Project: Apache Avro
> Issue Type: Bug
> Components: ruby
> Reporter: Martin Tzvetanov Grigorov
> Assignee: Martin Tzvetanov Grigorov
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0, 1.11.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> [https://github.com/apache/avro/actions/workflows/test-lang-ruby.yml]
>
> {code:java}
> ===============================================================================
> Failure: test_bytes_decimal_object_allocations_decode(TestLogicalTypes):
> <1> was expected to be
> >=
> <2>.
> /home/runner/work/avro/avro/lang/ruby/test/test_logical_types.rb:234:in
> `block in test_bytes_decimal_object_allocations_decode'
> 231:
> 232: assert_equal 5, report.total_allocated
> 233: # Ruby 2.7 does not retain anything. Ruby 2.6 retains 1
> => 234: assert_operator 1, :>=, report.total_retained
> 235: end
> 236: end
> 237:
>
> /home/runner/work/avro/avro/lang/ruby/test/test_logical_types.rb:227:in
> `each'
>
> /home/runner/work/avro/avro/lang/ruby/test/test_logical_types.rb:227:in
> `test_bytes_decimal_object_allocations_decode' {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)