This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-hapi-client.git
commit ecde4035346ccb18295e68c157ae8fbf007eeb31 Author: Bertrand Delacretaz <[email protected]> AuthorDate: Tue Oct 13 12:00:41 2015 +0000 SLING-5136 - use numeric localhost address, the string might not work in some environments git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1708360 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/sling/hapi/client/test/util/HttpServerRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/sling/hapi/client/test/util/HttpServerRule.java b/src/test/java/org/apache/sling/hapi/client/test/util/HttpServerRule.java index 4e1b069..da42c16 100644 --- a/src/test/java/org/apache/sling/hapi/client/test/util/HttpServerRule.java +++ b/src/test/java/org/apache/sling/hapi/client/test/util/HttpServerRule.java @@ -71,7 +71,7 @@ public class HttpServerRule extends ExternalResource { registerHandlers(); server = serverBootstrap.create(); server.start(); - host = new HttpHost("localhost", server.getLocalPort(), protocolScheme.name()); + host = new HttpHost("127.0.0.1", server.getLocalPort(), protocolScheme.name()); uri = URIUtils.rewriteURI(new URI("/"), host); } -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
