[jboss-remoting-commits] JBoss Remoting SVN: r4253 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/configuration.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Wed May 28 14:19:08 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-05-28 14:19:07 -0400 (Wed, 28 May 2008)
New Revision: 4253

Modified:
   remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/configuration/SocketRetryConfigTestCase.java
Log:
JBREM-986: Eliminated assert involving "numberOfRetries" parameter.

Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/configuration/SocketRetryConfigTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/configuration/SocketRetryConfigTestCase.java	2008-05-28 08:40:36 UTC (rev 4252)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/configuration/SocketRetryConfigTestCase.java	2008-05-28 18:19:07 UTC (rev 4253)
@@ -32,14 +32,13 @@
  */
 public class SocketRetryConfigTestCase extends TestCase
 {
-   private int socketRetries = 5;
    private int callRetries = 6;
    private int timeout = 1000;
 
    public void testConfig() throws Throwable
    {
       InvokerLocator locator = new InvokerLocator("socket://localhost:8888" + "/?" + SocketClientInvoker.SO_TIMEOUT_FLAG + "=" + timeout + "&" +
-                                                  "NumberOfRetries=" + socketRetries + "&NumberOfCallRetries=" + callRetries);
+                                                   "&NumberOfCallRetries=" + callRetries);
 
       Connector connector = new Connector("socket://localhost:8888");
       Client client = new Client(locator);
@@ -52,7 +51,6 @@
 
          SocketClientInvoker invoker = (SocketClientInvoker)client.getInvoker();
 
-         assertEquals(socketRetries, invoker.getNumberOfRetries());
          assertEquals(callRetries, invoker.getNumberOfCallRetries());
          assertEquals(timeout, invoker.getTimeout());
          assertEquals(Boolean.FALSE.booleanValue(), invoker.checkingConnection());




More information about the jboss-remoting-commits mailing list