drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3836) TestBitRpc uses hard coded port
Date Thu, 24 Sep 2015 22:39:04 GMT

    [ https://issues.apache.org/jira/browse/DRILL-3836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907174#comment-14907174
] 

ASF GitHub Bot commented on DRILL-3836:
---------------------------------------

Github user jaltekruse commented on the pull request:

    https://github.com/apache/drill/pull/168#issuecomment-143068088
  
    +1


> 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)

Mime
View raw message