pvary commented on code in PR #13101:
URL: https://github.com/apache/iceberg/pull/13101#discussion_r2097810163
##########
core/src/test/java/org/apache/iceberg/rest/TestRESTCatalog.java:
##########
@@ -166,7 +167,7 @@ public <T extends RESTResponse> T execute(
servletContext.addServlet(new ServletHolder(new
RESTCatalogServlet(adaptor)), "/*");
servletContext.setHandler(new GzipHandler());
- this.httpServer = new Server(0);
+ this.httpServer = new Server(new InetSocketAddress("127.0.0.1", 0));
Review Comment:
Could we use:
https://docs.oracle.com/javase/8/docs/api/java/net/InetAddress.html#getLoopbackAddress--?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]