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

Ron Sigal ron_sigal at yahoo.com
Mon Nov 5 03:39:17 EST 2007


  User: rsigal  
  Date: 07/11/05 03:39:17

  Modified:    src/tests/org/jboss/test/remoting/callback/asynch  Tag:
                        remoting_2_x AsynchCallbackTestClientRoot.java
  Log:
  JBREM-800:  Extended time waiting for callbacks.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.5   +5 -5      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.4
  retrieving revision 1.1.2.5
  diff -u -b -r1.1.2.4 -r1.1.2.5
  --- AsynchCallbackTestClientRoot.java	3 Nov 2007 03:22:05 -0000	1.1.2.4
  +++ AsynchCallbackTestClientRoot.java	5 Nov 2007 08:39:17 -0000	1.1.2.5
  @@ -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.4 $
  + * @version $Revision: 1.1.2.5 $
    * <p>
    * Copyright Nov 25, 2006
    * </p>
  @@ -71,7 +71,7 @@
         Boolean done = (Boolean) client.invoke(AsynchCallbackTestServerRoot.GET_STATUS);
         log.info("done 1: " + done);
         assertFalse(done.booleanValue());
  -      Thread.sleep(5000);
  +      Thread.sleep(6000);
         done = (Boolean) client.invoke(AsynchCallbackTestServerRoot.GET_STATUS);
         log.info("done 2: " + done);
         assertTrue(done.booleanValue());
  @@ -101,7 +101,7 @@
         client.addListener(callbackHandler, null, null, true);
         log.info("client added callback handler");
         client.invokeOneway(AsynchCallbackTestServerRoot.ASYNCHRONOUS_CLIENT_SIDE_TEST);
  -      Thread.sleep(1000);
  +      Thread.sleep(4000);
         // Should have returned.
         Boolean done = (Boolean) client.invoke(AsynchCallbackTestServerRoot.GET_STATUS);
         assertTrue(done.booleanValue());
  @@ -129,7 +129,7 @@
         client.addListener(callbackHandler, null, null, true);
         log.info("client added callback handler");
         client.invokeOneway(AsynchCallbackTestServerRoot.ASYNCHRONOUS_SERVER_SIDE_TEST);
  -      Thread.sleep(1000);
  +      Thread.sleep(4000);
         
         // Should have returned.
         Boolean done = (Boolean) client.invoke(AsynchCallbackTestServerRoot.GET_STATUS);
  @@ -168,7 +168,7 @@
            receivedCallback = true;
            try
            {
  -            Thread.sleep(2000);
  +            Thread.sleep(5000);
            }
            catch (InterruptedException e)
            {
  
  
  



More information about the jboss-cvs-commits mailing list