cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf git commit: The latest JDK on Mac seems to throw a timeout exception instead of a connect exception.
Date Wed, 06 Sep 2017 14:03:14 GMT
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 <dkulp@apache.org>
Authored: Wed Aug 2 11:38:01 2017 -0400
Committer: Daniel Kulp <dkulp@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
+}


Mime
View raw message