cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [2/3] git commit: Igore the WSDLAddressRewriteTest.testWithEquivalentAddress() as 127.0.0.1 doesn't work in JDK8
Date Wed, 25 Jun 2014 13:48:12 GMT
Igore the WSDLAddressRewriteTest.testWithEquivalentAddress() as 127.0.0.1 doesn't work in JDK8


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/38420ba6
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/38420ba6
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/38420ba6

Branch: refs/heads/master
Commit: 38420ba6ed76fd59da08ac23886dfca5d9dd1c1f
Parents: 732ad17
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Wed Jun 25 16:13:04 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Wed Jun 25 16:41:49 2014 +0800

----------------------------------------------------------------------
 .../org/apache/cxf/systest/http/WSDLAddressRewriteTest.java     | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/38420ba6/systests/transports/src/test/java/org/apache/cxf/systest/http/WSDLAddressRewriteTest.java
----------------------------------------------------------------------
diff --git a/systests/transports/src/test/java/org/apache/cxf/systest/http/WSDLAddressRewriteTest.java
b/systests/transports/src/test/java/org/apache/cxf/systest/http/WSDLAddressRewriteTest.java
index b15cb86..7c05ead 100644
--- a/systests/transports/src/test/java/org/apache/cxf/systest/http/WSDLAddressRewriteTest.java
+++ b/systests/transports/src/test/java/org/apache/cxf/systest/http/WSDLAddressRewriteTest.java
@@ -68,6 +68,11 @@ public class WSDLAddressRewriteTest extends AbstractBusClientServerTestBase
{
 
     @Test
     public void testWithEquivalentAddress() throws Exception {
+        String version = System.getProperty("java.version");
+        if (version.startsWith("1.8")) {
+            // Just skip the test as "127.0.0.1" doesn't work in JDK8
+            return;
+        }
         Endpoint endpoint = null;
         try {
             endpoint = publishEndpoint(false);


Mime
View raw message