[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/callback/pull ...

Ron Sigal ron_sigal at yahoo.com
Sat Nov 3 03:45:54 EDT 2007


  User: rsigal  
  Date: 07/11/03 03:45:54

  Modified:    src/tests/org/jboss/test/remoting/callback/pull  Tag:
                        remoting_2_x CallbackPollerShutdownTestCase.java
  Log:
  JBREM-800:  In testBlockingCallbackPoller(), extend Thread.sleep() before checking that threads are done.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +2 -2      JBossRemoting/src/tests/org/jboss/test/remoting/callback/pull/Attic/CallbackPollerShutdownTestCase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CallbackPollerShutdownTestCase.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/callback/pull/Attic/CallbackPollerShutdownTestCase.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -b -r1.1.2.1 -r1.1.2.2
  --- CallbackPollerShutdownTestCase.java	19 Jun 2007 04:26:08 -0000	1.1.2.1
  +++ CallbackPollerShutdownTestCase.java	3 Nov 2007 07:45:54 -0000	1.1.2.2
  @@ -56,7 +56,7 @@
    * Verifies that CallbackPoller shuts down when max error count is exceeded.
    * 
    * @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
  - * @version $Revision: 1.1.2.1 $
  + * @version $Revision: 1.1.2.2 $
    * <p>
    * Copyright June 18, 2007
    * </p>
  @@ -188,7 +188,7 @@
         connector.stop();
         
         // Wait for CallbackPoller to shut down.
  -      Thread.sleep(4000);
  +      Thread.sleep(6000);
         field = handleThreadClass.getDeclaredField("done");
         field.setAccessible(true);
         boolean handleThreadDone = ((Boolean) field.get(handleThread)).booleanValue();
  
  
  



More information about the jboss-cvs-commits mailing list