[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/shutdown ...
Ron Sigal
ron_sigal at yahoo.com
Tue Nov 13 03:51:15 EST 2007
User: rsigal
Date: 07/11/13 03:51:15
Modified: src/tests/org/jboss/test/remoting/shutdown Tag:
remoting_2_x ShutdownTestParent.java
Log:
JBREM-800: In testClosingClient(), give client more time to shut down.
Revision Changes Path
No revision
No revision
1.1.2.6 +9 -3 JBossRemoting/src/tests/org/jboss/test/remoting/shutdown/ShutdownTestParent.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ShutdownTestParent.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/shutdown/ShutdownTestParent.java,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -b -r1.1.2.5 -r1.1.2.6
--- ShutdownTestParent.java 12 Nov 2007 06:53:47 -0000 1.1.2.5
+++ ShutdownTestParent.java 13 Nov 2007 08:51:15 -0000 1.1.2.6
@@ -40,7 +40,7 @@
* (http://jira.jboss.com/jira/browse/JBREM-674)
*
* @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
- * @version $Revision: 1.1.2.5 $
+ * @version $Revision: 1.1.2.6 $
* <p>
* Copyright Jan 19, 2007
* </p>
@@ -76,8 +76,10 @@
serverCommand += " " + getServerArgs();
String clientCommand = command + getHangingClientClassName() + " " + getTransport();
clientCommand += " " + getClientArgs();
+ log.info("starting server");
new Executor(serverCommand, true).start();
Thread.sleep(10000);
+ log.info("starting client");
new Executor(clientCommand, false).start();
Thread.sleep(8000);
log.info("testing client");
@@ -104,13 +106,15 @@
serverCommand += " " + getServerArgs();
String clientCommand = command + getClosingClientClassName() + " " + getTransport();
clientCommand += " " + getClientArgs();
+ log.info("starting server");
new Executor(serverCommand, true).start();
Thread.sleep(10000);
+ log.info("starting client");
new Executor(clientCommand, false).start();
- Thread.sleep(8000);
+ Thread.sleep(15000);
log.info("testing client");
assertTrue(clientSuccessful);
- Thread.sleep(22000);
+ Thread.sleep(15000);
log.info("testing server");
assertTrue(serverSuccessful);
log.info(getName() + " PASSES");
@@ -131,9 +135,11 @@
serverCommand += " " + getServerArgs();
String clientCommand = command + OpenClient.class.getName() + " " + getTransport();
clientCommand += " " + getClientArgs();
+ log.info("starting server");
new Executor(serverCommand, true).start();
Thread.sleep(10000);
Executor clientExecutor = new Executor(clientCommand, false);
+ log.info("starting client");
clientExecutor.start();
Thread.sleep(30000);
log.info("testing client");
More information about the jboss-cvs-commits
mailing list