You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Miklos Gergely (JIRA)" <ji...@apache.org> on 2016/06/07 09:42:21 UTC

[jira] [Updated] (AMBARI-17004) Unit tests failing because of the order of hash sets/maps

     [ https://issues.apache.org/jira/browse/AMBARI-17004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Miklos Gergely updated AMBARI-17004:
------------------------------------
    Attachment: AMBARI-17004.patch

> 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
>            Reporter: Miklos Gergely
>         Attachments: AMBARI-17004.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)