avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1688) Ruby test_union(TestIO) is failing
Date Mon, 13 Jul 2015 15:45:04 GMT

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

Tom White updated AVRO-1688:
----------------------------
    Attachment: AVRO-1688.patch

The test that is failing is not in {{check_default}}, but in {{check}}, where random data
is created, and then serialized and deserialized and checked for equality. The equality check
fails due to the change in semantics.

I've created a new patch that changes the test so that  {{check_default}} and {{check}} are
independent, and removes the problematic call to {{check}} for the double/long union. This
is more in-line with what the Java tests do. Does this look OK to you now?

> Ruby test_union(TestIO) is failing
> ----------------------------------
>
>                 Key: AVRO-1688
>                 URL: https://issues.apache.org/jira/browse/AVRO-1688
>             Project: Avro
>          Issue Type: Bug
>          Components: ruby
>            Reporter: Tom White
>            Assignee: Tom White
>            Priority: Blocker
>             Fix For: 1.8.0
>
>         Attachments: AVRO-1688.patch, AVRO-1688.patch
>
>
> The failure message is
> {noformat}
>   1) Failure:
> test_union(TestIO) [/Users/tom/workspace/avro/lang/ruby/test/test_io.rb:340]:
> <-3372032630846393039> expected but was
> <-3.372032630846393e+18>.
> {noformat}



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

Mime
View raw message