avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Kleppmann (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1782) Test failures in Ruby 2.1/2.2
Date Mon, 11 Jan 2016 21:36:39 GMT

     [ 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)

Mime
View raw message