[jboss-remoting-commits] JBoss Remoting SVN: r4057 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/threadpool.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Thu Apr 24 02:21:43 EDT 2008
Author: ron.sigal at jboss.com
Date: 2008-04-24 02:21:43 -0400 (Thu, 24 Apr 2008)
New Revision: 4057
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/threadpool/ThreadPoolEvictionTestCase.java
Log:
JBREM-930: For ConnectThreads with 0 delay, changed delay to 500.
Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/threadpool/ThreadPoolEvictionTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/threadpool/ThreadPoolEvictionTestCase.java 2008-04-24 06:12:57 UTC (rev 4056)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/threadpool/ThreadPoolEvictionTestCase.java 2008-04-24 06:21:43 UTC (rev 4057)
@@ -90,8 +90,8 @@
client1.connect();
// Use up server's threadpool.
- ConnectThread ct1 = new ConnectThread(client1, 0, "ct1");
- ConnectThread ct2 = new ConnectThread(client1, 0, "ct2");
+ ConnectThread ct1 = new ConnectThread(client1, 500, "ct1");
+ ConnectThread ct2 = new ConnectThread(client1, 500, "ct2");
ct1.start();
ct2.start();
Thread.sleep(2000);
@@ -155,8 +155,8 @@
client1.connect();
// Use up server's threadpool.
- ConnectThread ct1 = new ConnectThread(client1, 0, "ct1");
- ConnectThread ct2 = new ConnectThread(client1, 0, "ct2");
+ ConnectThread ct1 = new ConnectThread(client1, 500, "ct1");
+ ConnectThread ct2 = new ConnectThread(client1, 500, "ct2");
ct1.start();
ct2.start();
Thread.sleep(4000);
More information about the jboss-remoting-commits
mailing list