[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/callback/asynch ...
Ron Sigal
ron_sigal at yahoo.com
Wed Dec 13 20:36:47 EST 2006
User: rsigal
Date: 06/12/13 20:36:47
Modified: src/tests/org/jboss/test/remoting/callback/asynch
AsynchCallbackTestClient.java
Log:
JBREM-640: In asynch callback tests, wait 500 ms instead of 100 ms before checking status.
Revision Changes Path
1.5 +3 -3 JBossRemoting/src/tests/org/jboss/test/remoting/callback/asynch/AsynchCallbackTestClient.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AsynchCallbackTestClient.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/callback/asynch/AsynchCallbackTestClient.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- AsynchCallbackTestClient.java 28 Nov 2006 20:41:38 -0000 1.4
+++ AsynchCallbackTestClient.java 14 Dec 2006 01:36:47 -0000 1.5
@@ -34,7 +34,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>
@@ -88,7 +88,7 @@
client.addListener(callbackHandler, null, null, true);
log.info("client added callback handler");
client.invokeOneway(AsynchCallbackTestServer.ASYNCHRONOUS_CLIENT_SIDE_TEST);
- Thread.sleep(100);
+ Thread.sleep(500);
// Should have returned.
Boolean done = (Boolean) client.invoke(AsynchCallbackTestServer.GET_STATUS);
assertTrue(done.booleanValue());
@@ -114,7 +114,7 @@
client.addListener(callbackHandler, null, null, true);
log.info("client added callback handler");
client.invokeOneway(AsynchCallbackTestServer.ASYNCHRONOUS_SERVER_SIDE_TEST);
- Thread.sleep(100);
+ Thread.sleep(500);
// Should have returned.
Boolean done = (Boolean) client.invoke(AsynchCallbackTestServer.GET_STATUS);
assertTrue(done.booleanValue());
More information about the jboss-cvs-commits
mailing list