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

Ron Sigal ron_sigal at yahoo.com
Tue Nov 6 18:31:29 EST 2007


  User: rsigal  
  Date: 07/11/06 18:31:28

  Modified:    src/tests/org/jboss/test/remoting/callback/asynch  Tag:
                        remoting_2_x AsynchCallbackTestClientRoot.java
  Log:
  JBREM-800:  In testAsynchronousCallbackServerSide(), extend Thread.sleep() before checking that callback has been processed.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.6   +2 -2      JBossRemoting/src/tests/org/jboss/test/remoting/callback/asynch/AsynchCallbackTestClientRoot.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AsynchCallbackTestClientRoot.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/callback/asynch/AsynchCallbackTestClientRoot.java,v
  retrieving revision 1.1.2.5
  retrieving revision 1.1.2.6
  diff -u -b -r1.1.2.5 -r1.1.2.6
  --- AsynchCallbackTestClientRoot.java	5 Nov 2007 08:39:17 -0000	1.1.2.5
  +++ AsynchCallbackTestClientRoot.java	6 Nov 2007 23:31:28 -0000	1.1.2.6
  @@ -39,7 +39,7 @@
    * for a set of transport specific tests of the asynchronous callback facility.
    * 
    * @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
  - * @version $Revision: 1.1.2.5 $
  + * @version $Revision: 1.1.2.6 $
    * <p>
    * Copyright Nov 25, 2006
    * </p>
  @@ -135,7 +135,7 @@
         Boolean done = (Boolean) client.invoke(AsynchCallbackTestServerRoot.GET_STATUS);
         assertTrue(done.booleanValue());
         assertTrue(callbackHandler.receivedCallback);
  -      Thread.sleep(2000);
  +      Thread.sleep(5000);
         
         // Callback should be handled.
         assertTrue(callbackHandler.done);
  
  
  



More information about the jboss-cvs-commits mailing list