avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Zeyliger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-247) Broken test: org.apache.avro.TestDataFile$InteropTest.testGeneratedReflect()
Date Tue, 01 Dec 2009 19:21:20 GMT

    [ https://issues.apache.org/jira/browse/AVRO-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784348#action_12784348
] 

Philip Zeyliger commented on AVRO-247:
--------------------------------------

"ant test-interop-java" triggers it; here's the relevant exception:

{noformat}
$cat build/test/TEST*Interop*
Testsuite: org.apache.avro.TestDataFile$InteropTest
Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 0.461 sec
------------- Standard Output ---------------
Reading test.java.avro
Reading test.py.avro
Reading test.java.avro
Reading test.py.avro
Reading test.java.avro
------------- ---------------- ---------------

Testcase: testGeneratedGeneric took 0.274 sec
Testcase: testGeneratedSpecific took 0.128 sec
Testcase: testGeneratedReflect took 0.03 sec
    Caused an ERROR
Can not set org.apache.avro.util.Utf8 field org.apache.avro.Interop.stringField to java.lang.String
java.lang.IllegalArgumentException: Can not set org.apache.avro.util.Utf8 field org.apache.avro.Interop.stringField
to java.lang.String
    at java.lang.reflect.Field.set(Field.java:657)
    at org.apache.avro.reflect.ReflectDatumReader.addField(ReflectDatumReader.java:53)
    at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:154)
    at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:72)
    at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:61)
    at org.apache.avro.file.DataFileReader.next(DataFileReader.java:143)
    at org.apache.avro.TestDataFile.readFile(TestDataFile.java:133)
    at org.apache.avro.TestDataFile$InteropTest.readFiles(TestDataFile.java:171)
    at org.apache.avro.TestDataFile$InteropTest.testGeneratedReflect(TestDataFile.java:165)
{noformat}

> Broken test: org.apache.avro.TestDataFile$InteropTest.testGeneratedReflect()
> ----------------------------------------------------------------------------
>
>                 Key: AVRO-247
>                 URL: https://issues.apache.org/jira/browse/AVRO-247
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Philip Zeyliger
>
> The current trunk has a broken java-interop test.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message