You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Christophe Le Saec (Jira)" <ji...@apache.org> on 2022/11/08 07:58:00 UTC
[jira] [Commented] (AVRO-3662) [Ruby] Ruby 2.6 CI workflow fails since a while
[ https://issues.apache.org/jira/browse/AVRO-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17630255#comment-17630255 ]
Christophe Le Saec commented on AVRO-3662:
------------------------------------------
CI is to fix
But, Avro is currently implemented in 10 languages, this leads to some issue :
* For a new feature, it's difficult to add it everywhere.
* Difficult to ensure that each implementation have same possibilities.
* Bug fix can be hard ([This PR|https://issues.apache.org/jira/browse/AVRO-3591] try to solve by adding common test system).
On the other hand, it can be hard to decide which implementation to remove; and each developer & user -would- will have different advice (_Mine would be to remove perl, php and ruby_).
May be a doodle would be a solution (for each language, get pro & cons; and remove an implementation when there are more than 80% cons)
> [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)