drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Le Dem (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3836) TestBitRpc uses hard coded port
Date Thu, 24 Sep 2015 20:32:06 GMT
Julien Le Dem created DRILL-3836:
------------------------------------

             Summary: 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


{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