You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Martin Kleppmann (JIRA)" <ji...@apache.org> on 2015/12/30 13:42:49 UTC

[jira] [Updated] (AVRO-1775) Running unit tests on Ruby 2.2

     [ https://issues.apache.org/jira/browse/AVRO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Kleppmann updated AVRO-1775:
-----------------------------------
    Attachment: AVRO-1775-1.patch

Attached patch that adds a dependency on the {{test-unit}} gem. This makes {{build.sh test}} work with Ruby 2.2, and seems to have no negative side-effects in other versions of Ruby (I tested 1.9.3 and 2.1.4).

> Running unit tests on Ruby 2.2
> ------------------------------
>
>                 Key: AVRO-1775
>                 URL: https://issues.apache.org/jira/browse/AVRO-1775
>             Project: Avro
>          Issue Type: Bug
>          Components: ruby
>            Reporter: Martin Kleppmann
>         Attachments: AVRO-1775-1.patch
>
>
> Ruby 2.2 [removed the test/unit framework from the standard library|https://bugs.ruby-lang.org/issues/9711#note-12]. As the Avro Ruby implementation uses it for its tests, we need to add a dependency on the {{test-unit}} gem in order to run the tests in Ruby 2.2.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)