[ 
https://issues.apache.org/jira/browse/AVRO-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17633724#comment-17633724
 ] 

ASF subversion and git services commented on AVRO-3662:
-------------------------------------------------------

Commit a928ff2f9fd4ba14bb21fb98cf277a3e8784746c in avro's branch 
refs/heads/avro-3662-ruby-2.6-wrong-total_retained from Martin Tzvetanov 
Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=a928ff2f9 ]

AVRO-3662: It seems Ruby 2.6 sometimes retains '2'

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
>            Priority: Major
>
> [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)

Reply via email to