cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [3/3] cxf git commit: The latest JDK on Mac seems to throw a timeout exception instead of a connect exception.
Date Wed, 02 Aug 2017 15:49:50 GMT
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/598a45d5
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/598a45d5
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/598a45d5

Branch: refs/heads/master
Commit: 598a45d5b2add46995cbced55209be7ecacd4a51
Parents: 88489dd
Author: Daniel Kulp <dkulp@apache.org>
Authored: Wed Aug 2 11:38:01 2017 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Wed Aug 2 11:38:01 2017 -0400

----------------------------------------------------------------------
 .../java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/598a45d5/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 25aef5f..77ea5aa 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);


Mime
View raw message