[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 ] Sean Busbey updated AVRO-1782: -- Fix Version/s: 1.7.8 > 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 >Affects Versions: 1.7.7 >Reporter: Martin Kleppmann >Assignee: Martin Kleppmann > Fix For: 1.7.8, 1.8.0 > > 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.15#6346)
[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: --- Resolution: Fixed Fix Version/s: 1.8.0 Status: Resolved (was: Patch Available) Committed to trunk and branch-1.8. > 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 >Affects Versions: 1.7.7 >Reporter: Martin Kleppmann > Fix For: 1.8.0 > > 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)
[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: --- Affects Version/s: 1.7.7 Status: Patch Available (was: Open) > 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 >Affects Versions: 1.7.7 >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)
[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)