clesaec commented on PR #2016: URL: https://github.com/apache/avro/pull/2016#issuecomment-1385097100
The issue comes from that [the tested java class "Company" use HashMap](https://github.com/apache/avro/blob/master/lang/java/avro/src/test/java/org/apache/avro/reflect/TestNonStringMapKeys.java#L364-L373), which does not guaranted to keep insert ordering. So replacing HashMap by LinkedHashMap (and same for caller) should solve it (and this also shows utility of nondex which found a bug in unit test code :)) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
