Skip to content

Commit

Permalink
Fix API change
Browse files Browse the repository at this point in the history
  • Loading branch information
warunalakshitha committed Jul 6, 2023
1 parent 9516ca3 commit 92c92df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ private void setup() throws Exception {
int[] requiredPorts = {29091};
try {
servicesServerInstance.startServer(sourcesDir, "listener_tests", null, new String[0], requiredPorts);
Utils.waitForPortsToOpen(requiredPorts, 1000 * 60, false, "localhost");
InetAddress address = InetAddress.getByName("localhost");
Utils.waitForPortsToOpen(requiredPorts, 1000 * 60, false, address);
} catch (Throwable t) {
t.printStackTrace();
throw t;
Expand Down

0 comments on commit 92c92df

Please sign in to comment.