You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2017/09/06 14:03:14 UTC
cxf git commit: The latest JDK on Mac seems to throw a timeout
exception instead of a connect exception.
Repository: cxf
Updated Branches:
refs/heads/3.0.x-fixes 528fd9240 -> da9b83d71
The latest JDK on Mac seems to throw a timeout exception instead of a connect exception.
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/da9b83d7
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/da9b83d7
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/da9b83d7
Branch: refs/heads/3.0.x-fixes
Commit: da9b83d71ef435825748d8d3cb43edc91699d1aa
Parents: 528fd92
Author: Daniel Kulp <dk...@apache.org>
Authored: Wed Aug 2 11:38:01 2017 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Wed Sep 6 10:02:34 2017 -0400
----------------------------------------------------------------------
.../org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/da9b83d7/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java
----------------------------------------------------------------------
diff --git a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java
index d82c6ad..ac02cce 100644
--- a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java
+++ b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java
@@ -110,7 +110,8 @@ public class WSAPureWsdlTest extends AbstractWSATestBase {
} catch (Exception t) {
//expected
assertTrue(t.getCause().getCause().toString(),
- t.getCause().getCause() instanceof java.net.ConnectException);
+ t.getCause().getCause() instanceof java.net.ConnectException
+ || t.getCause().getCause() instanceof java.net.SocketTimeoutException);
}
synchronized (handler) {
port.addNumbersAsync(25, 25, handler);
@@ -280,4 +281,4 @@ public class WSAPureWsdlTest extends AbstractWSATestBase {
assertNotNull("Service is null ", service);
return service.getAddNumbersPort();
}
-}
\ No newline at end of file
+}