Author: veithen
Date: Sat Mar 10 09:21:29 2012
New Revision: 1299168
URL: http://svn.apache.org/viewvc?rev=1299168&view=rev
Log:
Fixed a broken test case.
Modified:
axis/axis1/java/trunk/integration/src/test/java/test/wsdl/session/SessionTestCase.java
Modified:
axis/axis1/java/trunk/integration/src/test/java/test/wsdl/session/SessionTestCase.java
URL:
http://svn.apache.org/viewvc/axis/axis1/java/trunk/integration/src/test/java/test/wsdl/session/SessionTestCase.java?rev=1299168&r1=1299167&r2=1299168&view=diff
==============================================================================
---
axis/axis1/java/trunk/integration/src/test/java/test/wsdl/session/SessionTestCase.java
(original)
+++
axis/axis1/java/trunk/integration/src/test/java/test/wsdl/session/SessionTestCase.java
Sat Mar 10 09:21:29 2012
@@ -6,6 +6,8 @@
*/
package test.wsdl.session;
+import test.HttpTestUtil;
+
/**
* Class SessionTestCase
*/
@@ -63,7 +65,7 @@ public class SessionTestCase extends jun
// Create an instance of the Web service interface.
SessionTestServerServiceLocator wsloc =
new SessionTestServerServiceLocator();
- SessionTestServer ws = wsloc.getSessionTest();
+ SessionTestServer ws =
wsloc.getSessionTest(HttpTestUtil.getTestEndpoint(wsloc.getSessionTestAddress()));
// Maintain sessions for test calls.
((org.apache.axis.client.Stub) ws).setMaintainSession(true);
@@ -78,7 +80,10 @@ public class SessionTestCase extends jun
}
}
}
- } catch (Exception e) {
+ } catch (Throwable e) {
+ synchronized (testLock) {
+ failed++;
+ }
e.printStackTrace();
}
// checkout