cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Re-enabling test
Date Mon, 11 Jan 2016 14:10:38 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 2caad0c68 -> a564aea12


Re-enabling test


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

Branch: refs/heads/3.1.x-fixes
Commit: a564aea127fa0a385c06b1c7f9f391b68d0f9c50
Parents: 2caad0c
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Mon Jan 11 14:09:09 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Jan 11 14:10:28 2016 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/a564aea1/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java
----------------------------------------------------------------------
diff --git a/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java
b/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java
index ae45f51..2c3c099 100644
--- a/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java
+++ b/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java
@@ -58,9 +58,7 @@ import org.springframework.core.io.Resource;
 /**
  * This class tests starting up and shutting down the embedded server when there
  * is extra jetty configuration.
- * This test is ignored by default as it is continually failing on Jenkins.
  */
-@org.junit.Ignore
 public class EngineLifecycleTest extends Assert {
     private static final String PORT1 = TestUtil.getPortNumber(EngineLifecycleTest.class,
1);
     private static final String PORT2 = TestUtil.getPortNumber(EngineLifecycleTest.class,
2);
@@ -184,7 +182,7 @@ public class EngineLifecycleTest extends Assert {
         
     private void verifyNoServer(String port) {
         try {
-            Socket socket = new Socket(InetAddress.getLocalHost(), Integer.parseInt(port));
+            Socket socket = new Socket(InetAddress.getLoopbackAddress().getHostName(), Integer.parseInt(port));
             socket.close();
         } catch (UnknownHostException e) {
             fail("Unknown host for local address");


Mime
View raw message