[jboss-remoting-commits] JBoss Remoting SVN: r6191 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/connection/identity.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Thu Dec 23 19:04:51 EST 2010


Author: ron.sigal at jboss.com
Date: 2010-12-23 19:04:51 -0500 (Thu, 23 Dec 2010)
New Revision: 6191

Modified:
   remoting2/branches/2.x/src/tests/org/jboss/test/remoting/connection/identity/ServerIdentityTestCase.java
Log:
JBREM-1144: Added "numberOfCallRetries" to Client's config map for ConnectionValidator.

Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/connection/identity/ServerIdentityTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/connection/identity/ServerIdentityTestCase.java	2010-12-24 00:02:43 UTC (rev 6190)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/connection/identity/ServerIdentityTestCase.java	2010-12-24 00:04:51 UTC (rev 6191)
@@ -126,6 +126,7 @@
       InvokerLocator clientLocator = new InvokerLocator(locatorURI + "&dummy=dummy");
       HashMap clientConfig = new HashMap();
       clientConfig.put(InvokerLocator.FORCE_REMOTE, "true");
+      clientConfig.put("numberOfCallRetries", "3"); // for ConnectionValidator
       addExtraClientConfig(clientConfig);
       Client client = new Client(clientLocator, clientConfig);
       client.connect();
@@ -181,6 +182,7 @@
       InvokerLocator clientLocator = new InvokerLocator(locatorURI + "&dummy=dummy");
       HashMap clientConfig = new HashMap();
       clientConfig.put(InvokerLocator.FORCE_REMOTE, "true");
+      clientConfig.put("numberOfCallRetries", "3"); // for ConnectionValidator
       addExtraClientConfig(clientConfig);
       Client client = new Client(clientLocator, clientConfig);
       client.connect();



More information about the jboss-remoting-commits mailing list