[ https://issues.apache.org/jira/browse/CALCITE-934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Elser resolved CALCITE-934. -------------------------------- Resolution: Fixed Fix Version/s: (was: next) 1.6.0 Fixed in https://git1-us-west.apache.org/repos/asf?p=calcite.git;a=commit;h=1bbb6a2b97bf3da149c5f878b2d59ceafa737521 > Use ephemeral port for CalciteRemoteDriverTest > ---------------------------------------------- > > Key: CALCITE-934 > URL: https://issues.apache.org/jira/browse/CALCITE-934 > Project: Calcite > Issue Type: Bug > Components: core > Reporter: Josh Elser > Assignee: Josh Elser > Priority: Trivial > Fix For: 1.6.0 > > > {noformat} > java.lang.RuntimeException: java.net.BindException: Address already in use > at sun.nio.ch.Net.bind0(Native Method) > at sun.nio.ch.Net.bind(Net.java:444) > at sun.nio.ch.Net.bind(Net.java:436) > at > sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) > at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) > at > org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321) > 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:366) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) > at > org.apache.calcite.avatica.server.HttpServer.start(HttpServer.java:65) > at org.apache.calcite.avatica.server.Main.start(Main.java:95) > at org.apache.calcite.avatica.server.Main.start(Main.java:68) > at > org.apache.calcite.jdbc.CalciteRemoteDriverTest.beforeClass(CalciteRemoteDriverTest.java:155) > {noformat} > If you have an instance of the Avatica server already running, > {{CalciteRemoteDriverTest}} fails as above because it fails to bind port 8765. -- This message was sent by Atlassian JIRA (v6.3.4#6332)