Author: ron.sigal(a)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);
Show replies by date