[jboss-remoting-commits] JBoss Remoting SVN: r5711 - remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socket.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Tue Feb 16 23:41:09 EST 2010
Author: ron.sigal at jboss.com
Date: 2010-02-16 23:41:09 -0500 (Tue, 16 Feb 2010)
New Revision: 5711
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socket/ErrorTestCase.java
Log:
JBREM-1183: TestServerThread.processInvocation() creates clientpool and threadpool.
Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socket/ErrorTestCase.java
===================================================================
--- remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socket/ErrorTestCase.java 2010-02-17 04:32:18 UTC (rev 5710)
+++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socket/ErrorTestCase.java 2010-02-17 04:41:09 UTC (rev 5711)
@@ -269,7 +269,10 @@
}
protected void processInvocation(Socket socket) throws Exception
{
- ServerThread worker = new TestServerThread(socket, this, null, null, 0, 0, ServerSocketWrapper.class.getName());
+ clientpool = new LRUPool(2, maxPoolSize);
+ clientpool.create();
+ threadpool = new LinkedList();
+ ServerThread worker = new TestServerThread(socket, this, clientpool, threadpool, 0, 0, ServerSocketWrapper.class.getName());
worker.start();
}
}
More information about the jboss-remoting-commits
mailing list