Author: veithen
Date: Sun May 24 18:15:07 2009
New Revision: 778205

URL: http://svn.apache.org/viewvc?rev=778205&view=rev
Log:
Testkit: Increased some timeout in the hope that this fixes random test 
failures seen in the Synapse build on Hudson.

Modified:
    
webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/axis2/client/AxisTestClient.java

Modified: 
webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/axis2/client/AxisTestClient.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/axis2/client/AxisTestClient.java?rev=778205&r1=778204&r2=778205&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/axis2/client/AxisTestClient.java
 (original)
+++ 
webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/axis2/client/AxisTestClient.java
 Sun May 24 18:15:07 2009
@@ -139,8 +139,8 @@
                         break;
                     } catch (AssertionFailedError ex) {
                         // SYNAPSE-491: Maybe the transport sender didn't 
finish updating the
-                        // metrics yet. We give it up to one seconds to do so.
-                        long remaining = start + 1000 - 
System.currentTimeMillis();
+                        // metrics yet. We give it a couple of seconds to do 
so.
+                        long remaining = start + 5000 - 
System.currentTimeMillis();
                         if (remaining < 0) {
                             throw ex;
                         } else {


Reply via email to