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 di...@apache.org on 2006/11/18 03:39:59 UTC

svn commit: r476421 - /webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/async/AsyncServiceWithTransportFailureTest.java

Author: dims
Date: Fri Nov 17 18:39:58 2006
New Revision: 476421

URL: http://svn.apache.org/viewvc?view=rev&rev=476421
Log:
throw error only if the variable is marked complete (slow laptop :()

Modified:
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/async/AsyncServiceWithTransportFailureTest.java

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/async/AsyncServiceWithTransportFailureTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/async/AsyncServiceWithTransportFailureTest.java?view=diff&rev=476421&r1=476420&r2=476421
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/async/AsyncServiceWithTransportFailureTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/async/AsyncServiceWithTransportFailureTest.java Fri Nov 17 18:39:58 2006
@@ -140,7 +140,7 @@
         {
           throw new AxisFault("Server was shutdown, as the async response took too long to complete");
         }
-        if (!wasError)
+        if (finish && !wasError)
         {
           fail("An error occurred during the transmission of the async request but the callback was not notified");
         }



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