Browse Source
We have seen some failures recently in `RestServerTest`. It's the usual problem with reliance on static ports. ``` Caused by: java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8083 at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346) at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:308) at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.server.Server.doStart(Server.java:396) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.apache.kafka.connect.runtime.rest.RestServer.initializeServer(RestServer.java:178) ... 56 more Caused by: java.net.BindException: Address already in use ``` This patch makes the chosen port dynamic. Reviewers: Ismael Juma <ismael@juma.me.uk>pull/7091/head
Jason Gustafson
5 years ago
committed by
GitHub
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue