[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/callback/pull/blocking ...
Ron Sigal
ron_sigal at yahoo.com
Tue Jun 19 00:27:20 EDT 2007
User: rsigal
Date: 07/06/19 00:27:20
Modified: src/tests/org/jboss/test/remoting/callback/pull/blocking
Tag: remoting_2_x BlockingPullCallbackTestCase.java
Log:
JBREM-641: Updated to account for changing CallbackPoller default to nonblocking callbacks.
Revision Changes Path
No revision
No revision
1.1.2.3 +3 -2 JBossRemoting/src/tests/org/jboss/test/remoting/callback/pull/blocking/Attic/BlockingPullCallbackTestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BlockingPullCallbackTestCase.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/callback/pull/blocking/Attic/BlockingPullCallbackTestCase.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
--- BlockingPullCallbackTestCase.java 22 May 2007 03:43:15 -0000 1.1.2.2
+++ BlockingPullCallbackTestCase.java 19 Jun 2007 04:27:20 -0000 1.1.2.3
@@ -59,7 +59,7 @@
* See JBREM-641.
*
* @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 May 2, 2007
* </p>
@@ -272,7 +272,7 @@
/**
* Tests configuration of blocking timeout by Client.addListener() metadata.
- * In this case, a CallackPoller is created.
+ * In this case, a CallbackPoller is created.
*/
public void testBlockingCallbackPollerInitialMetadataConfiguration() throws Throwable
{
@@ -320,6 +320,7 @@
int clientBlockingTimeout = serverBlockingTimeout + 2000;
int CALLBACK_DELAY = serverBlockingTimeout + 1000;
metadata.clear();
+ metadata.put(ServerInvoker.BLOCKING_MODE, ServerInvoker.BLOCKING);
metadata.put(ServerInvoker.BLOCKING_TIMEOUT, Integer.toString(clientBlockingTimeout));
SimpleCallbackHandler callbackHandler = new SimpleCallbackHandler();
client.addListener(callbackHandler, metadata);
More information about the jboss-cvs-commits
mailing list