[jboss-remoting-commits] JBoss Remoting SVN: r3598 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/keep_alive.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Sat Mar 8 22:56:14 EST 2008


Author: ron.sigal at jboss.com
Date: 2008-03-08 22:56:14 -0500 (Sat, 08 Mar 2008)
New Revision: 3598

Modified:
   remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/keep_alive/StressHTTPInvokerTestClient.java
Log:
JBREM-844: (1) Added Thread.sleep() at end for oneway invocations; (2) fixed loop counter.

Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/keep_alive/StressHTTPInvokerTestClient.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/keep_alive/StressHTTPInvokerTestClient.java	2008-03-08 15:46:42 UTC (rev 3597)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/keep_alive/StressHTTPInvokerTestClient.java	2008-03-09 03:56:14 UTC (rev 3598)
@@ -50,8 +50,10 @@
       
       for(int x = 0; x < 1000; x++)
       {
+         if ((x + 1) % 100 == 0) log.info("loop: " + (x + 1));
          super.testPostInvocation();
-         if (x + 1 % 100 == 0) log.info("loop: " + (x + 1));
       }
+      
+      Thread.sleep(5000);
    }
 }
\ No newline at end of file




More information about the jboss-remoting-commits mailing list