[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/lease/socket/multiple ...

Tom Elrod tom.elrod at jboss.com
Tue Nov 7 11:19:29 EST 2006


  User: telrod  
  Date: 06/11/07 11:19:29

  Modified:    src/tests/org/jboss/test/remoting/lease/socket/multiple 
                        Tag: remoting_2_x SocketLeaseTestCase.java
  Log:
  JBREM-629 - fixes for NPE within Lease when notifies of client lost
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +36 -1     JBossRemoting/src/tests/org/jboss/test/remoting/lease/socket/multiple/SocketLeaseTestCase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SocketLeaseTestCase.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/lease/socket/multiple/SocketLeaseTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -b -r1.1 -r1.1.2.1
  --- SocketLeaseTestCase.java	14 Sep 2006 20:35:27 -0000	1.1
  +++ SocketLeaseTestCase.java	7 Nov 2006 16:19:29 -0000	1.1.2.1
  @@ -11,7 +11,7 @@
      public void declareTestClasses()
      {
         addTestClasses(SocketLeaseTestClient.class.getName(),
  -                     1,
  +                     10,
                        SocketLeaseTestServer.class.getName());
      }
   
  @@ -19,4 +19,39 @@
      {
         return Level.DEBUG;
      }
  +   
  +   /**
  +    * How long to wait for test results to be returned from the client(s).  If goes longer than the
  +    * specified limit, will throw an exception and kill the running test cases.  Default value is
  +    * RESULTS_TIMEOUT.
  +    *
  +    * @return
  +    */
  +   protected long getResultsTimeout()
  +   {
  +      return 360000;
  +   }
  +
  +   /**
  +    * How long for the server test case to wait for tear down message.  If exceeds timeout,
  +    * will throw exception.  The default value is TEARDOWN_TIMEOUT.
  +    *
  +    * @return
  +    */
  +   protected long getTearDownTimeout()
  +   {
  +      return 360000;
  +   }
  +
  +   /**
  +    * How long to allow each of the test cases to run their tests.  If exceeds this timeout
  +    * will throw exception and kill tests.  The default value is RUN_TEST_TIMEOUT.
  +    *
  +    * @return
  +    */
  +   protected long getRunTestTimeout()
  +   {
  +      return 360000;
  +   }
  +
   }
  
  
  



More information about the jboss-cvs-commits mailing list