This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new 95c1cc9 Fix test failure on MacOS 95c1cc9 is described below commit 95c1cc9ddff6da65bd43de9c3557a9c9f4887bfc Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri May 3 22:17:28 2019 +0100 Fix test failure on MacOS --- test/org/apache/catalina/core/TestStandardService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/org/apache/catalina/core/TestStandardService.java b/test/org/apache/catalina/core/TestStandardService.java index cdb7d7d..0ec93ce 100644 --- a/test/org/apache/catalina/core/TestStandardService.java +++ b/test/org/apache/catalina/core/TestStandardService.java @@ -16,6 +16,8 @@ */ package org.apache.catalina.core; +import java.net.InetAddress; + import org.junit.Test; import org.apache.catalina.connector.Connector; @@ -47,6 +49,7 @@ public class TestStandardService extends TomcatBaseTest { Connector c2 = new Connector("HTTP/1.1"); c2.setThrowOnFailure(throwOnFailure); + c2.setAttribute("address", ((InetAddress) connector.getAttribute("address")).getHostAddress()); c2.setPort(connector.getLocalPort()); tomcat.getService().addConnector(c2); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org