Author: ron.sigal(a)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();
}
}
Show replies by thread