You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by GitBox <gi...@apache.org> on 2021/10/29 20:23:38 UTC

[GitHub] [cayenne] shunfan-shao opened a new pull request #470: fix: replace non deterministic order data structure

shunfan-shao opened a new pull request #470:
URL: https://github.com/apache/cayenne/pull/470


   In this specific test: org.apache.cayenne.log.CompactSlf4jJdbcEventLoggerTest.compactBindings, usage of Hashmap creates uncertainty of key orders, causing assertions relying on the order to fail under unexpected running environment.
   
   Use LinkedHashMap to keep the hash property while maintaining some kind of ordering.


-- 
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: commits-unsubscribe@cayenne.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org