Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 32815200B43 for ; Tue, 7 Jun 2016 11:45:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 311F7160A35; Tue, 7 Jun 2016 09:45:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 86D89160A57 for ; Tue, 7 Jun 2016 11:45:22 +0200 (CEST) Received: (qmail 3361 invoked by uid 500); 7 Jun 2016 09:45:21 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 3219 invoked by uid 99); 7 Jun 2016 09:45:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2016 09:45:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 746DC2C1F6A for ; Tue, 7 Jun 2016 09:45:21 +0000 (UTC) Date: Tue, 7 Jun 2016 09:45:21 +0000 (UTC) From: "Miklos Gergely (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (AMBARI-17004) Unit tests failing because of the order of hash sets/maps MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 07 Jun 2016 09:45:23 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Miklos Gergely reassigned AMBARI-17004: --------------------------------------- Assignee: Miklos Gergely > 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 > > > 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)