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

Ron Sigal ron_sigal at yahoo.com
Wed Nov 7 03:36:41 EST 2007


  User: rsigal  
  Date: 07/11/07 03:36:41

  Modified:    src/tests/org/jboss/test/remoting/timeout   Tag:
                        remoting_2_x QuickDisconnectServerParent.java
                        QuickDisconnectClientParent.java
  Log:
  JBREM-800:  Stretched out timing.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +2 -2      JBossRemoting/src/tests/org/jboss/test/remoting/timeout/Attic/QuickDisconnectServerParent.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: QuickDisconnectServerParent.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/timeout/Attic/QuickDisconnectServerParent.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -b -r1.1.2.2 -r1.1.2.3
  --- QuickDisconnectServerParent.java	22 Feb 2007 09:43:14 -0000	1.1.2.2
  +++ QuickDisconnectServerParent.java	7 Nov 2007 08:36:41 -0000	1.1.2.3
  @@ -52,7 +52,7 @@
    * removeListener().
    * 
    * @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
  - * @version $Revision: 1.1.2.2 $
  + * @version $Revision: 1.1.2.3 $
    * <p>
    * Copyright Jan 24, 2007
    * </p>
  @@ -154,7 +154,7 @@
               connector.addConnectionListener(new TestListener());
               connector.start();
               log.info("Connector started: " + connector.getInvokerLocator());
  -            Thread.sleep(5000);
  +            Thread.sleep(10000);
               connector.stop();
               log.info("Connector stopped: " + connector.getInvokerLocator());
            }
  
  
  
  1.1.2.7   +16 -16    JBossRemoting/src/tests/org/jboss/test/remoting/timeout/Attic/QuickDisconnectClientParent.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: QuickDisconnectClientParent.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/timeout/Attic/QuickDisconnectClientParent.java,v
  retrieving revision 1.1.2.6
  retrieving revision 1.1.2.7
  diff -u -b -r1.1.2.6 -r1.1.2.7
  --- QuickDisconnectClientParent.java	3 Nov 2007 01:03:41 -0000	1.1.2.6
  +++ QuickDisconnectClientParent.java	7 Nov 2007 08:36:41 -0000	1.1.2.7
  @@ -52,7 +52,7 @@
    * removeListener().
    * 
    * @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
  - * @version $Revision: 1.1.2.6 $
  + * @version $Revision: 1.1.2.7 $
    * <p>
    * Copyright Jan 24, 2007
    * </p>
  @@ -134,7 +134,7 @@
               try
               {
                  // Wait for the server to be disabled.
  -               Thread.sleep(10000);
  +               Thread.sleep(15000);
                  
                  try
                  {
  @@ -169,7 +169,7 @@
         // the server to time out.  Wait for about 4 seconds after the call to
         // Client.disconnect() and then verify that the Client has successfully
         // disconnected even though the server is disabled.
  -      Thread.sleep(16000);
  +      Thread.sleep(21000);
         assertFalse(client.isConnected());
         log.info(getName() + " PASSES");
      }
  @@ -215,7 +215,7 @@
               try
               {
                  // Wait for the server to be disabled.
  -               Thread.sleep(10000);
  +               Thread.sleep(15000);
                  
                  try
                  {
  @@ -250,7 +250,7 @@
         // the server to time out.  Wait for about 4 seconds after the call to
         // Client.disconnect() and then verify that the Client has successfully
         // disconnected even though the server is disabled.
  -      Thread.sleep(16000);
  +      Thread.sleep(21000);
         assertFalse(client.isConnected());
         log.info(getName() + " PASSES");
      }
  @@ -302,7 +302,7 @@
               try
               {
                  // Wait for the server to be disabled.
  -               Thread.sleep(10000);
  +               Thread.sleep(15000);
                  
                  try
                  {
  @@ -385,7 +385,7 @@
               try
               {
                  // Wait for the server to be disabled.
  -               Thread.sleep(10000);
  +               Thread.sleep(15000);
                  
                  try
                  {
  @@ -425,7 +425,7 @@
         // Wait for about 4 seconds after the call to Client.removeListener() and then
         // verify that the Client has successfully removed the callback handler even
         // though the server is disabled.
  -      Thread.sleep(16000);
  +      Thread.sleep(21000);
         assertEquals(0, callbackConnectors.size());
         
         // Verify that attempt to remove callback handler on server has timed out and
  @@ -488,7 +488,7 @@
               try
               {
                  // Wait for the server to be disabled.
  -               Thread.sleep(10000);
  +               Thread.sleep(15000);
                  
                  try
                  {
  @@ -528,7 +528,7 @@
         // Wait for about 4 seconds after the call to Client.removeListener() and then
         // verify that the Client has successfully removed the callback handler even
         // though the server is disabled.
  -      Thread.sleep(16000);
  +      Thread.sleep(21000);
         assertEquals(0, callbackPollers.size());
         
         // Verify that attempt to remove callback handler on server has timed out and
  @@ -581,7 +581,7 @@
               try
               {
                  // Wait for the server to be disabled.
  -               Thread.sleep(10000);
  +               Thread.sleep(15000);
                  
                  try
                  {
  @@ -622,7 +622,7 @@
         // Wait for about 4 seconds after the call to Client.removeListener() and then
         // verify that the Client has successfully removed the callback handler even
         // though the server is disabled.
  -      Thread.sleep(16000);
  +      Thread.sleep(21000);
         assertEquals(0, callbackConnectors.size());
         
         // Verify that attempt to remove callback handler on server has timed out and
  @@ -685,7 +685,7 @@
               try
               {
                  // Wait for the server to be disabled.
  -               Thread.sleep(10000);
  +               Thread.sleep(15000);
                  
                  try
                  {
  @@ -726,7 +726,7 @@
         // Wait for about 4 seconds after the call to Client.removeListener() and then
         // verify that the Client has successfully removed the callback handler even
         // though the server is disabled.
  -      Thread.sleep(16000);
  +      Thread.sleep(21000);
         assertEquals(0, callbackPollers.size());
         
         // Verify that attempt to remove callback handler on server has timed out and
  @@ -785,7 +785,7 @@
               try
               {
                  // Wait for the server to be disabled.
  -               Thread.sleep(10000);
  +               Thread.sleep(15000);
                  
                  try
                  {
  @@ -820,7 +820,7 @@
   
         // Wait for about 4 seconds after the call to Client.removeListener() and then
         // verify that the Client has not been able to complete the call to removeListener().
  -      Thread.sleep(16000);
  +      Thread.sleep(21000);
         assertEquals(1, callbackConnectors.size());
         
         // Verify that attempt to remove callback handler from server has not timed out
  
  
  



More information about the jboss-cvs-commits mailing list