ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivér Szabó (JIRA) <j...@apache.org>
Subject [jira] [Commented] (AMBARI-17004) Unit tests failing because of the order of hash sets/maps
Date Wed, 08 Jun 2016 16:27:20 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-17004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320863#comment-15320863
] 

Olivér Szabó commented on AMBARI-17004:
---------------------------------------

appending patches:

- committed to trunk:
{code:java}
commit be36f4856f75d9d2e7de2a6c28e5c79bcea6add3
Author: Miklos Gergely <mgergely@hortonworks.com>
Date:   Wed Jun 8 18:20:21 2016 +0200

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

- committed to branch-2.4:
{code:java}
commit ff8eaec59838b952fdf1fdb9a41a7278d59873b5
Author: Miklos Gergely <mgergely@hortonworks.com>
Date:   Wed Jun 8 18:20:21 2016 +0200

    AMBARI-17004. Unit tests failing because of the order of hash sets/maps (Miklos Gergely
via oleewere)
{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)

Mime
View raw message