[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket ...
Ron Sigal
ron_sigal at yahoo.com
Wed Jan 3 13:41:48 EST 2007
User: rsigal
Date: 07/01/03 13:41:48
Modified: src/tests/org/jboss/test/remoting/transport/bisocket
BisocketTestCase.java
Log:
JBREM-650: Made firstTime static and lengthened sleep time in testServerRestart().
Revision Changes Path
1.5 +4 -4 JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/BisocketTestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BisocketTestCase.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/BisocketTestCase.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- BisocketTestCase.java 29 Dec 2006 06:46:32 -0000 1.4
+++ BisocketTestCase.java 3 Jan 2007 18:41:48 -0000 1.5
@@ -60,7 +60,7 @@
/**
* @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
* <p>
* Copyright Nov 25, 2006
* </p>
@@ -80,12 +80,12 @@
private static final String TEST_MAX_POOL_SIZE_STRING = "5";
private static final int TEST_MAX_POOL_SIZE = 5;
+ private static boolean firstTime = true;
+
// remoting server connector
private Connector connector;
private SampleInvocationHandler invocationHandler;
- private boolean firstTime = true;
-
/**
@@ -1332,7 +1332,7 @@
log.info("RESTARTED CONNECTOR");
assertTrue(!connector.equals(oldConnector));
- Thread.sleep(TEST_PING_FREQUENCY * 3);
+ Thread.sleep(TEST_PING_FREQUENCY * 5);
// It is beyond the scope of Remoting to fail over to a new server,
// complete with registered callback handlers.
More information about the jboss-cvs-commits
mailing list