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 2016/01/11 22:36:39 UTC

[jira] [Updated] (AVRO-1782) Test failures in Ruby 2.1/2.2

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

Martin Kleppmann updated AVRO-1782:
-----------------------------------
    Attachment: AVRO-1782.patch

Attached a patch to fix all the test failures:

* Explicitly require strscan to get StringScanner (seems like something else implicitly required it in prior versions, so we got away without requiring it ourselves)
* Change SchemaNormalization to use MultiJson instead of JSON, bringing it in line with Avro::Schema.

> Test failures in Ruby 2.1/2.2
> -----------------------------
>
>                 Key: AVRO-1782
>                 URL: https://issues.apache.org/jira/browse/AVRO-1782
>             Project: Avro
>          Issue Type: Bug
>          Components: ruby
>            Reporter: Martin Kleppmann
>         Attachments: AVRO-1782.patch
>
>
> When running the Avro Ruby implementation's test suite in Ruby 2.1 or 2.2, I get several test failures. The distinct errors are:
> {code}
> NameError: uninitialized constant Avro::SchemaNormalization::JSON
>     avro/lang/ruby/lib/avro/schema_normalization.rb:28:in `to_parsing_form'
> {code}
> and
> {code}
> TestSchemaNormalization#test_shared_dataset:
> NameError: uninitialized constant CaseFinder::StringScanner
>     /Users/martin/Applications/avro/lang/ruby/test/case_finder.rb:30:in `initialize'
> {code}



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