[ https://issues.apache.org/jira/browse/AVRO-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731813#comment-16731813 ]
Fokko Driesprong commented on AVRO-2290: ---------------------------------------- It shouldn't be too hard to run the CI on Java11 as well. Let me see if I can get this working somewhere the upcoming days. > TestSpecificLogicalTypes.testRecordWithJsr310LogicalTypes breaks on Java 11 > --------------------------------------------------------------------------- > > Key: AVRO-2290 > URL: https://issues.apache.org/jira/browse/AVRO-2290 > Project: Apache Avro > Issue Type: Sub-task > Components: java > Reporter: Ismaël Mejía > Priority: Minor > > Java 11 has nano-second precision so the test breaks, the test should now > detect this and adapt accordingly. > {code} > [ERROR] > testRecordWithJsr310LogicalTypes(org.apache.avro.specific.TestSpecificLo > gicalTypes) Time elapsed: 0.24 s <<< FAILURE! > java.lang.AssertionError: Should match written record expected:<{"b": true, > "i32 > ": 34, "i64": 35, "f32": 3.14, "f64": 3019.34, "s": null, "d": 2018-12-20, > "t": > 15:02:53.535103, "ts": 2018-12-20T14:02:53.535127Z, "dec": 123.45}> but > was:<{"b > ": true, "i32": 34, "i64": 35, "f32": 3.14, "f64": 3019.34, "s": null, "d": > 2018 > -12-20, "t": 15:02:53.535, "ts": 2018-12-20T14:02:53.535Z, "dec": 123.45}> > at > org.apache.avro.specific.TestSpecificLogicalTypes.testRecordWithJsr31 > 0LogicalTypes(TestSpecificLogicalTypes.java:132) > [ERROR] > testAbilityToReadJodaRecordWrittenAsJsr310Record(org.apache.avro.specifi > c.TestSpecificLogicalTypes) Time elapsed: 0.005 s <<< FAILURE! > java.lang.AssertionError: > Expected: is "15:02:53.639158" > but: was "15:02:53.639" > at > org.apache.avro.specific.TestSpecificLogicalTypes.testAbilityToReadJo > daRecordWrittenAsJsr310Record(TestSpecificLogicalTypes.java:204) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)