You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "testfixer0 (Jira)" <ji...@apache.org> on 2020/02/06 18:47:00 UTC

[jira] [Created] (HADOOP-16847) Test can fail if HashSet iterates in a different order

testfixer0 created HADOOP-16847:
-----------------------------------

             Summary: Test can fail if HashSet iterates in a different order
                 Key: HADOOP-16847
                 URL: https://issues.apache.org/jira/browse/HADOOP-16847
             Project: Hadoop Common
          Issue Type: Improvement
          Components: security
            Reporter: testfixer0


-private static Set<String> allGroups = new HashSet<String>();
-private static Set<String> blackList = new HashSet<String>();
+private static Set<String> allGroups = new LinkedHashSet<String>();
+private static Set<String> blackList = new LinkedHashSet<String>();



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org