[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/timeout ...
Ron Sigal
ron_sigal at yahoo.com
Thu Feb 22 04:40:58 EST 2007
User: rsigal
Date: 07/02/22 04:40:58
Modified: src/tests/org/jboss/test/remoting/timeout Tag: remoting_2_x
PerInvocationTimeoutTestRoot.java
Log:
JBREM-657, JBREM-701: Increased wait times in invocation handler.
Revision Changes Path
No revision
No revision
1.1.2.3 +6 -6 JBossRemoting/src/tests/org/jboss/test/remoting/timeout/PerInvocationTimeoutTestRoot.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PerInvocationTimeoutTestRoot.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/timeout/PerInvocationTimeoutTestRoot.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- PerInvocationTimeoutTestRoot.java 6 Feb 2007 23:19:54 -0000 1.1.2.2
+++ PerInvocationTimeoutTestRoot.java 22 Feb 2007 09:40:58 -0000 1.1.2.3
@@ -51,7 +51,7 @@
* See JIRA issue JBREM-598: http://jira.jboss.com/jira/browse/JBREM-598
*
* @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
- * @version $Revision: 1.1.2.2 $
+ * @version $Revision: 1.1.2.3 $
* <p>
* Copyright Jan 24, 2007
* </p>
@@ -61,8 +61,8 @@
protected static final String NO_WAIT = "nowait";
protected static final String SHORT_WAIT = "shortwait";
protected static final String LONG_WAIT = "longwait";
- protected static final String CONFIGURED_TIMEOUT_STRING = "4000";
- protected static final int CONFIGURED_TIMEOUT = 4000;
+ protected static final String CONFIGURED_TIMEOUT_STRING = "8000";
+ protected static final int CONFIGURED_TIMEOUT = 8000;
protected static Logger log = Logger.getLogger(PerInvocationTimeoutTestRoot.class);
protected static boolean firstTime = true;
@@ -167,7 +167,7 @@
// Make sure timeout was reset after previous invocation. (Actually, this
// test is transport dependent, but it's included here for completeness. A
- // version of this test should be supplied for each transport.)
+ // version of this test could be supplied for each transport.)
response = client.invoke(SHORT_WAIT);
assertEquals(SHORT_WAIT, response);
log.info("invocation successful");
@@ -206,12 +206,12 @@
}
else if (SHORT_WAIT.equals(command))
{
- Thread.sleep(2000);
+ Thread.sleep(4000);
return command;
}
else if (LONG_WAIT.equals(command))
{
- Thread.sleep(6000);
+ Thread.sleep(12000);
return command;
}
else
More information about the jboss-cvs-commits
mailing list