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

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=15320945#comment-15320945 ] 

Aravindan Vijayan edited comment on AMBARI-17004 at 6/8/16 5:08 PM:
--------------------------------------------------------------------

Reverted patch in trunk because of unit test failure

{code}
commit 5754b682687425913af5119f27d41fc2f9dd3cfd
Author: Aravindan Vijayan <av...@hortonworks.com>
Date:   Wed Jun 8 09:45:08 2016 -0700

    Revert "AMBARI-17004. Unit tests failing because of the order of hash sets/maps (Miklos Gergely via oleewere)"

    This reverts commit 32890b5542dee84de30d127896fe2426af1926ee.
{code}


was (Author: avijayan):
Reverted patch because of unit test failure

{code}
commit 5754b682687425913af5119f27d41fc2f9dd3cfd
Author: Aravindan Vijayan <av...@hortonworks.com>
Date:   Wed Jun 8 09:45:08 2016 -0700

    Revert "AMBARI-17004. Unit tests failing because of the order of hash sets/maps (Miklos Gergely via oleewere)"

    This reverts commit 32890b5542dee84de30d127896fe2426af1926ee.
{code}

> 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)