[jboss-cvs] JBoss Messaging SVN: r7564 - branches/Branch_1_4/tests/src/org/jboss/test/messaging/core.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jul 13 07:01:17 EDT 2009


Author: gaohoward
Date: 2009-07-13 07:01:16 -0400 (Mon, 13 Jul 2009)
New Revision: 7564

Modified:
   branches/Branch_1_4/tests/src/org/jboss/test/messaging/core/RotatingIDTest.java
Log:
JBMESSAGING-1682
tuning test


Modified: branches/Branch_1_4/tests/src/org/jboss/test/messaging/core/RotatingIDTest.java
===================================================================
--- branches/Branch_1_4/tests/src/org/jboss/test/messaging/core/RotatingIDTest.java	2009-07-13 10:52:39 UTC (rev 7563)
+++ branches/Branch_1_4/tests/src/org/jboss/test/messaging/core/RotatingIDTest.java	2009-07-13 11:01:16 UTC (rev 7564)
@@ -225,7 +225,7 @@
       final int numNodes = 50;
       Random rand = new Random();
       final Map<Long, Long> ids = new ConcurrentHashMap<Long, Long>(10000000);
-      ExecutorService pool = Executors.newCachedThreadPool();
+      ExecutorService pool = Executors.newFixedThreadPool(50);
 
       int nid = rand.nextInt(1024);
       for (int i = 0; i < numNodes; i++)




More information about the jboss-cvs-commits mailing list