[
https://issues.apache.org/jira/browse/AMBARI-17004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321641#comment-15321641
]
Hudson commented on AMBARI-17004:
---------------------------------
ABORTED: Integrated in Ambari-trunk-Commit #5036 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5036/])
AMBARI-17004. Unit tests failing because of the order of hash sets/maps
(avijayan:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6576c8460239824e948c099856eaa53007489796])
*
ambari-server/src/main/java/org/apache/ambari/server/audit/event/request/ClusterPrivilegeChangeRequestAuditEvent.java
*
ambari-server/src/test/java/org/apache/ambari/server/audit/request/creator/PrivilegeEventCreatorTest.java
*
ambari-server/src/test/java/org/apache/ambari/server/audit/request/creator/ViewPrivilegeEventCreatorTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/audit/request/eventcreator/RepositoryVersionEventCreator.java
*
ambari-server/src/test/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulatorTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/audit/request/eventcreator/RequestAuditEventCreatorHelper.java
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ComponentResourceProviderTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/audit/event/request/ChangeRepositoryVersionRequestAuditEvent.java
> Unit tests failing because of the order of hash sets/maps
> ---------------------------------------------------------
>
> Key: AMBARI-17004
> URL: https://issues.apache.org/jira/browse/AMBARI-17004
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Miklos Gergely
> Assignee: Miklos Gergely
> Fix For: 2.4.0
>
> Attachments: AMBARI-17004.patch, AMBARI-17004_appendum.patch
>
>
> Some unit tests are failing because they depend on the order elements are
> returned by the iterator of a HashSet/HashMap. Usually they are small (2-3
> entries), so they may easily produce good results. Still in other
> environments they fail as the order the elements are returned from a
> HashSet/HashMap may depend on the JVM used.
> The tests will be described in the comments.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)