Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.0
-
Reviewed
Description
TestApplicationHistoryClientService.testContainers and TestApplicationHistoryClientService.testApplicationAttempts both fail because the test assertions are assuming a returned Collection is in a certain order. The collection comes from a HashMap, so the order is not guaranteed, plus, according to this page, there are situations where the iteration order of a HashMap will be different between Java 7 and 8.
We should fix the test code to not assume a specific ordering.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-11090 [Umbrella] Support Java 8 in Hadoop
- Resolved