Author: ron.sigal(a)jboss.com
Date: 2008-05-01 18:21:57 -0400 (Thu, 01 May 2008)
New Revision: 4113
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestCase.java
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestClient.java
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestServer.java
Log:
JBREM-930: Allow more time to recreate ServerSocket.
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestCase.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestCase.java 2008-05-01
22:18:39 UTC (rev 4112)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestCase.java 2008-05-01
22:21:57 UTC (rev 4113)
@@ -24,4 +24,14 @@
{
return XLevel.TRACE;
}
+
+ protected long getResultsTimeout()
+ {
+ return 480000;
+ }
+
+ protected long getRunTestTimeout()
+ {
+ return 480000;
+ }
}
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestClient.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestClient.java 2008-05-01
22:18:39 UTC (rev 4112)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestClient.java 2008-05-01
22:21:57 UTC (rev 4113)
@@ -59,7 +59,7 @@
log.info("finished first sleep in tearDown()");
client.disconnect();
log.info("disconnected client in tearDown()");
- Thread.sleep(10000);
+ Thread.sleep(350000);
log.info("finished second sleep in tearDown()");
try {
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestServer.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestServer.java 2008-05-01
22:18:39 UTC (rev 4112)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestServer.java 2008-05-01
22:21:57 UTC (rev 4113)
@@ -120,7 +120,7 @@
log.info("invocation done");
String keyStorePath2 =
this.getClass().getResource("certificate/serverTrustStore2").getFile();
((SocketServerInvoker)
connector.getServerInvoker()).setNewServerSocketFactory(createServerSocketFactory(keyStorePassword,trustStorePassword,keyStorePath,keyStorePath2));
- Thread.sleep(20000);//let client build up connection a second time
+ Thread.sleep(250000);//let client build up connection a second time
log.info("leaving test()");
}
Show replies by date