[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/callback/asynch ...
Ron Sigal
ron_sigal at yahoo.com
Fri Aug 31 23:57:16 EDT 2007
User: rsigal
Date: 07/08/31 23:57:16
Modified: src/tests/org/jboss/test/remoting/callback/asynch Tag:
remoting_2_x AsynchCallbackTestClientRoot.java
Log:
JBREM-800: Changed timeout values in testSynchronousCallback() and testASynchronousCallbackServerSide().
Revision Changes Path
No revision
No revision
1.1.2.3 +3 -3 JBossRemoting/src/tests/org/jboss/test/remoting/callback/asynch/AsynchCallbackTestClientRoot.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AsynchCallbackTestClientRoot.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/callback/asynch/AsynchCallbackTestClientRoot.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
--- AsynchCallbackTestClientRoot.java 7 Jul 2007 01:12:43 -0000 1.1.2.2
+++ AsynchCallbackTestClientRoot.java 1 Sep 2007 03:57:16 -0000 1.1.2.3
@@ -39,7 +39,7 @@
* for a set of transport specific tests of the asynchronous callback facility.
*
* @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 Nov 25, 2006
* </p>
@@ -71,7 +71,7 @@
Boolean done = (Boolean) client.invoke(AsynchCallbackTestServerRoot.GET_STATUS);
log.info("done 1: " + done);
assertFalse(done.booleanValue());
- Thread.sleep(2000);
+ Thread.sleep(3000);
done = (Boolean) client.invoke(AsynchCallbackTestServerRoot.GET_STATUS);
log.info("done 2: " + done);
assertTrue(done.booleanValue());
@@ -129,7 +129,7 @@
client.addListener(callbackHandler, null, null, true);
log.info("client added callback handler");
client.invokeOneway(AsynchCallbackTestServerRoot.ASYNCHRONOUS_SERVER_SIDE_TEST);
- Thread.sleep(500);
+ Thread.sleep(1000);
// Should have returned.
Boolean done = (Boolean) client.invoke(AsynchCallbackTestServerRoot.GET_STATUS);
More information about the jboss-cvs-commits
mailing list