[jboss-remoting-commits] JBoss Remoting SVN: r6212 - remoting2/branches/2.2/src/tests/org/jboss/test/remoting/connection/identity.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Thu Jan 20 16:57:11 EST 2011
Author: ron.sigal at jboss.com
Date: 2011-01-20 16:57:11 -0500 (Thu, 20 Jan 2011)
New Revision: 6212
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/connection/identity/ServerIdentityTestCase.java
Log:
JBREM-1144: Put 1 second sleep before restarting server.
Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/connection/identity/ServerIdentityTestCase.java
===================================================================
--- remoting2/branches/2.2/src/tests/org/jboss/test/remoting/connection/identity/ServerIdentityTestCase.java 2011-01-20 05:07:39 UTC (rev 6211)
+++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/connection/identity/ServerIdentityTestCase.java 2011-01-20 21:57:11 UTC (rev 6212)
@@ -146,9 +146,10 @@
// Verify listener is notified if server bounces.
shutdownServer();
log.info("SHUT DOWN SERVER");
+ Thread.sleep(1000);
setupServer(false);
log.info("SET UP NEW SERVER");
- Thread.sleep(10000);
+ Thread.sleep(9000);
log.info(this + " listener.connectionFailed: " + listener.connectionFailed);
assertTrue(listener.connectionFailed);
@@ -205,9 +206,10 @@
// Verify listener is notified if server bounces.
shutdownServer();
log.info("SHUT DOWN SERVER");
+ Thread.sleep(1000);
setupServer(true);
log.info("SET UP NEW SERVER");
- Thread.sleep(15000);
+ Thread.sleep(14000);
log.info(this + " listener.connectionFailed: " + listener.connectionFailed);
assertTrue(listener.connectionFailed);
More information about the jboss-remoting-commits
mailing list