Author: ron.sigal(a)jboss.com
Date: 2012-07-18 18:34:18 -0400 (Wed, 18 Jul 2012)
New Revision: 6453
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/timeout/WriteTimeoutTestParent.java
Log:
JBREM-1120: Extended wait time in testServerWriteTimeout().
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/timeout/WriteTimeoutTestParent.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/timeout/WriteTimeoutTestParent.java 2012-07-18
22:33:13 UTC (rev 6452)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/timeout/WriteTimeoutTestParent.java 2012-07-18
22:34:18 UTC (rev 6453)
@@ -203,7 +203,7 @@
}
// Test server invoker state.
- Thread.sleep(4000);
+ Thread.sleep(6000);
SocketServerInvoker serverInvoker = (SocketServerInvoker)
connector.getServerInvoker();
assertEquals(0, serverInvoker.getCurrentClientPoolSize());
assertEquals(1, serverInvoker.getCurrentThreadPoolSize());
@@ -302,7 +302,7 @@
if (isBisocket(getTransport()))
{
callbackTest = true;
- setupServer(true, false, "1000", 5000, 1);
+ setupServer(true, false, "1000", 5000, 2);
}
else
{
@@ -766,11 +766,13 @@
this.os = os;
this.timeout = timeout;
this.initialWrites = initialWrites;
+ log.info(this + " outputStream: " + os);
}
public void close()throws IOException
{
closed = true;
- super.close();
+// super.close();
+ os.close();
log.info(this + " closed");
}
public void write(int b) throws IOException
Show replies by date