Author: ron.sigal(a)jboss.com
Date: 2008-02-17 14:15:34 -0500 (Sun, 17 Feb 2008)
New Revision: 3451
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/oneway/OnewayThreadPoolTestCase.java
Log:
JBREM-658: (1) In testHeavyLoadClientSideHttp() gave invocations extra time; (2) renamed
test cases accidentally named xtest...().
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/oneway/OnewayThreadPoolTestCase.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/oneway/OnewayThreadPoolTestCase.java 2008-02-17
19:10:08 UTC (rev 3450)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/oneway/OnewayThreadPoolTestCase.java 2008-02-17
19:15:34 UTC (rev 3451)
@@ -89,7 +89,7 @@
* This test verifies that thread and queue size are correctly set
* on the server side and client side.
*/
- public void xtestConfiguration() throws Throwable
+ public void testConfiguration() throws Throwable
{
log.info("entering " + getName());
String host = InetAddress.getLocalHost().getHostAddress();
@@ -140,7 +140,7 @@
* The http client invoker does not return until after the invocation has
* returned a response.
*/
- public void xtestThreadPoolHttpClientSide() throws Throwable
+ public void testThreadPoolHttpClientSide() throws Throwable
{
log.info("entering " + getName());
String host = InetAddress.getLocalHost().getHostAddress();
@@ -204,7 +204,7 @@
* This test exercises the client side thread pool using the socket transport
* The socket client invoker waits for a response. See JBREM-706.
*/
- public void xtestThreadPoolSocketClientSide() throws Throwable
+ public void testThreadPoolSocketClientSide() throws Throwable
{
log.info("entering " + getName());
String host = InetAddress.getLocalHost().getHostAddress();
@@ -351,7 +351,7 @@
}
poolCounter++;
- Thread.sleep(10000);
+ Thread.sleep(15000);
// Verify INVOCATIONS invocations were received.
assertEquals(INVOCATIONS, handler.startedCount);
@@ -379,7 +379,7 @@
* This test verifies that the client side thread pool can function under
* a heavy load. It uses the socket transport.
*/
- public void xtestHeavyLoadClientSideSocket() throws Throwable
+ public void testHeavyLoadClientSideSocket() throws Throwable
{
log.info("entering " + getName());
String host = InetAddress.getLocalHost().getHostAddress();
@@ -442,7 +442,7 @@
/**
* This test exercises the server side thread pool using the http transport
*/
- public void xtestThreadPoolHttpServerSide() throws Throwable
+ public void testThreadPoolHttpServerSide() throws Throwable
{
log.info("entering " + getName());
String host = InetAddress.getLocalHost().getHostAddress();
@@ -516,7 +516,7 @@
/**
* This test exercises the server side thread pool using the socket transport
*/
- public void xtestThreadPoolSocketServerSide() throws Throwable
+ public void testThreadPoolSocketServerSide() throws Throwable
{
log.info("entering " + getName());
String host = InetAddress.getLocalHost().getHostAddress();
@@ -597,7 +597,7 @@
* This test verifies that the server side thread pool can function under
* a heavy load. It uses the http transport.
*/
- public void xtestHeavyLoadServerSideHttp() throws Throwable
+ public void testHeavyLoadServerSideHttp() throws Throwable
{
log.info("entering " + getName());
String host = InetAddress.getLocalHost().getHostAddress();
@@ -655,7 +655,7 @@
* This test verifies that the server side thread pool can function under
* a heavy load. It uses the socket transport.
*/
- public void xtestHeavyLoadServerSideSocket() throws Throwable
+ public void testHeavyLoadServerSideSocket() throws Throwable
{
log.info("entering " + getName());
String host = InetAddress.getLocalHost().getHostAddress();
Show replies by date