cpugputpu opened a new pull request #1119: KYLIN-4386 Use LinkedHashMap for a deterministic order URL: https://github.com/apache/kylin/pull/1119 The background information and a detailed analysis is here: https://issues.apache.org/jira/browse/KYLIN-4386 The tests in `org.apache.kylin.stream.coordinator.CoordinatorTest#testReassignFailOnStartNew` and `org.apache.kylin.stream.coordinator.CoordinatorTest#testReassignFailOnStopAndSync` will fail when making assertions due to an order issue. The fix is to use LinkedHashMap instead of HashMap so that the non-deterministic order when iterating a HashMap is eliminated. It will not affect the performance and can make the tests more stable.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
