[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/callback/asynch ...
Ron Sigal
ron_sigal at yahoo.com
Fri Nov 2 23:22:05 EDT 2007
User: rsigal
Date: 07/11/02 23:22:05
Modified: src/tests/org/jboss/test/remoting/callback/asynch Tag:
remoting_2_x AsynchCallbackTestClientRoot.java
Log:
JBREM-800: Extended Thread.sleep() after client.invokeOneway().
Revision Changes Path
No revision
No revision
1.1.2.4 +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.3
retrieving revision 1.1.2.4
diff -u -b -r1.1.2.3 -r1.1.2.4
--- AsynchCallbackTestClientRoot.java 1 Sep 2007 03:57:16 -0000 1.1.2.3
+++ AsynchCallbackTestClientRoot.java 3 Nov 2007 03:22:05 -0000 1.1.2.4
@@ -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.3 $
+ * @version $Revision: 1.1.2.4 $
* <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(3000);
+ Thread.sleep(5000);
done = (Boolean) client.invoke(AsynchCallbackTestServerRoot.GET_STATUS);
log.info("done 2: " + done);
assertTrue(done.booleanValue());
@@ -101,7 +101,7 @@
client.addListener(callbackHandler, null, null, true);
log.info("client added callback handler");
client.invokeOneway(AsynchCallbackTestServerRoot.ASYNCHRONOUS_CLIENT_SIDE_TEST);
- Thread.sleep(500);
+ Thread.sleep(1000);
// Should have returned.
Boolean done = (Boolean) client.invoke(AsynchCallbackTestServerRoot.GET_STATUS);
assertTrue(done.booleanValue());
More information about the jboss-cvs-commits
mailing list