[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/performance/spring/rmi ...

Ron Sigal ron_sigal at yahoo.com
Tue Aug 29 00:23:58 EDT 2006


  User: rsigal  
  Date: 06/08/29 00:23:58

  Modified:    src/tests/org/jboss/test/remoting/performance/spring/rmi 
                        SpringRMIPerformanceTestCase.java
  Log:
  JBREM-592:  Lengthened timeout periods and added some logging.
  
  Revision  Changes    Path
  1.3       +6 -4      JBossRemoting/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMIPerformanceTestCase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SpringRMIPerformanceTestCase.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMIPerformanceTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- SpringRMIPerformanceTestCase.java	18 Aug 2006 17:59:03 -0000	1.2
  +++ SpringRMIPerformanceTestCase.java	29 Aug 2006 04:23:58 -0000	1.3
  @@ -10,6 +10,7 @@
   
   import org.apache.log4j.Level;
   import org.jboss.jrunit.harness.BenchmarkTestDriver;
  +import org.jboss.logging.Logger;
   
   import java.io.IOException;
   
  @@ -31,6 +32,7 @@
      public static final String TEAR_DOWN_TIMEOUT = "jrunit.tear_down_timeout";
      public static final String RUN_TEST_TIMEOUT = "jrunit.run_test_timeout";
      public static final String REMOTING_HOST = "remoting.host";
  +   private static Logger log = Logger.getLogger(SpringRMIPerformanceTestCase.class);
   
      public void declareTestClasses()
      {
  @@ -165,7 +167,7 @@
         {
            vmArgs = vmArgs + " -Xmx" + jvmMx + "m";
         }
  -
  +	  log.info(vmArgs);
         return vmArgs;
      }
   
  @@ -178,7 +180,7 @@
       */
      protected long getResultsTimeout()
      {
  -      long defaultTimeout = 600000; // default to 10 minutes
  +      long defaultTimeout = 6000000; // default to 100 minutes
   
         String timeout = System.getProperty(RESULT_TIMEOUT);
         if(timeout != null && timeout.length() > 0)
  @@ -203,7 +205,7 @@
       */
      protected long getTearDownTimeout()
      {
  -      long defaultTimeout = 600000; // default to 10 minutes
  +      long defaultTimeout = 6000000; // default to 100 minutes
   
         String timeout = System.getProperty(TEAR_DOWN_TIMEOUT);
         if(timeout != null && timeout.length() > 0)
  @@ -228,7 +230,7 @@
       */
      protected long getRunTestTimeout()
      {
  -      long defaultTimeout = 600000; // default to 10 minutes
  +      long defaultTimeout = 6000000; // default to 100 minutes
   
         String timeout = System.getProperty(RUN_TEST_TIMEOUT);
         if(timeout != null && timeout.length() > 0)
  
  
  



More information about the jboss-cvs-commits mailing list