continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r938798 - /continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java
Date Wed, 28 Apr 2010 06:36:33 GMT
Author: brett
Date: Wed Apr 28 06:36:33 2010
New Revision: 938798

URL: http://svn.apache.org/viewvc?rev=938798&view=rev
Log:
make sure ordering of constructed objects is consistent

Modified:
    continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java

Modified: continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java?rev=938798&r1=938797&r2=938798&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java
(original)
+++ continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java
Wed Apr 28 06:36:33 2010
@@ -22,6 +22,7 @@ package org.apache.continuum.builder.dis
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.HashMap;
+import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
 
@@ -320,7 +321,7 @@ public class DefaultDistributedBuildMana
     private Map<String, OverallDistributedBuildQueue> getMockOverallDistributedBuildQueues(
int size )
     {
         Map<String, OverallDistributedBuildQueue> overallDistributedBuildQueues =
-            Collections.synchronizedMap( new HashMap<String, OverallDistributedBuildQueue>()
);
+            Collections.synchronizedMap( new LinkedHashMap<String, OverallDistributedBuildQueue>()
);
 
         buildAgents = new ArrayList<BuildAgentConfiguration>();
         buildAgents.add( buildAgent1 );



Mime
View raw message