[
https://issues.apache.org/jira/browse/DRILL-3836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14906965#comment-14906965
]
Jacques Nadeau commented on DRILL-3836:
---------------------------------------
Change is simple:
https://github.com/apache/drill/blob/master/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestBitRpc.java#L91
Change the false to true to allow port hunting.
> TestBitRpc uses hard coded port
> -------------------------------
>
> Key: DRILL-3836
> URL: https://issues.apache.org/jira/browse/DRILL-3836
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Julien Le Dem
> Assignee: Jacques Nadeau
>
> {noformat}
> int port = 1234;
> DataResponseHandler drp = new BitComTestHandler();
> DataServer server = new DataServer(c, workBus, drp);
> port = server.bind(port, false);
> DrillbitEndpoint ep =
> DrillbitEndpoint.newBuilder().setAddress("localhost").setDataPort(port).build();
> {noformat}
> This will collide if the suite is run in parallel on a machine.
> (like say on a jenkins server)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)