You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by th...@apache.org on 2007/02/20 07:23:28 UTC

svn commit: r509435 - /webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/PausingHandlerExecutionTest.java

Author: thilina
Date: Mon Feb 19 22:23:28 2007
New Revision: 509435

URL: http://svn.apache.org/viewvc?view=rev&rev=509435
Log:
Increasing the socket time out.. 
This test has Thread.sleep(5000) in the server side, which makes it fail with a time out...
Please make sure to increase the time out when writing tests which takes more time in the server..

Modified:
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/PausingHandlerExecutionTest.java

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/PausingHandlerExecutionTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/PausingHandlerExecutionTest.java?view=diff&rev=509435&r1=509434&r2=509435
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/PausingHandlerExecutionTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/PausingHandlerExecutionTest.java Mon Feb 19 22:23:28 2007
@@ -157,6 +157,7 @@
     options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
     options.setAction(operationName.getLocalPart());
     options.setUseSeparateListener(true);
+    options.setTimeOutInMilliSeconds(50000);
     
     ConfigurationContext configContext = UtilServer.createClientConfigurationContext();
     



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org