Skip to content

Commit

Permalink
Adapt to run test on IPv6
Browse files Browse the repository at this point in the history
  • Loading branch information
imonteroperez committed Jan 23, 2024
1 parent 08651df commit 5be7d77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public DirectArtifactManagerFactory() throws Exception {
}).
create();
server.start();
baseURL = new URL("http://" + server.getInetAddress().getHostName() + ":" + server.getLocalPort() + "/");
baseURL = new URL("http", server.getInetAddress().getHostName(), server.getLocalPort(), "/");
LOGGER.log(Level.INFO, "Mock server running at {0}", baseURL);

}
Expand Down

0 comments on commit 5be7d77

Please sign in to comment.