User: ejort   
  Date: 02/02/02 06:56:32

  Modified:    src/main/org/jboss/test/jbossmx/compliance TestCase.java
  Log:
  Synchronization in multi-threaded tests
  
  Revision  Changes    Path
  1.2       +4 -6      
jbosstest/src/main/org/jboss/test/jbossmx/compliance/TestCase.java
  
  Index: TestCase.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/jbossmx/compliance/TestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestCase.java     2002/02/02 03:16:21     1.1
  +++ TestCase.java     2002/02/02 14:56:31     1.2
  @@ -15,14 +15,12 @@
   
      /**
       * The period for a timer notification. This needs to be small so the tests
  -    * don't take too long, but not so small that the tests fail because
  -    * the computer is slow. The wait gives a bit of extra time for
  -    * the notification to happen.
  -    * WARNING: wait - period needs to be big enough, otherwise the RI will hang
  -    *          It doesn't use daemon threads and can get confused.
  +    * don't take too long.
  +    * The wait needs to be long enough to be sure the monitor has enough time
  +    * to send the notification and switch the context to the handler.
       */
      public static final long PERIOD = 100;
  -   public static final long WAIT = 120;
  +   public static final long WAIT = PERIOD * 2;
   
      /**
       * The number of repeats for occurances tests
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to