You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "Todd Lipcon (Code Review)" <ge...@ip-10-146-233-104.ec2.internal> on 2016/01/16 22:56:36 UTC

[kudu-CR] java: allow Java tests to run concurrently without port conflicts

Hello Jean-Daniel Cryans, Adar Dembo,

I'd like you to do a code review.  Please visit

    http://gerrit.cloudera.org:8080/1814

to review the following change.

Change subject: java: allow Java tests to run concurrently without port conflicts
......................................................................

java: allow Java tests to run concurrently without port conflicts

This changes the Java minicluster to use the same trick as the C++
external minicluster and generate unique loopback IPs based on the
test's pid. This should allow multiple executors to run on a single
slave without conflicts.

Change-Id: Ic96b45e305dd4da7f9e104c22f806ecdb3f78996
---
M java/kudu-client/src/test/java/org/kududb/client/MiniKuduCluster.java
1 file changed, 54 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/14/1814/1
-- 
To view, visit http://gerrit.cloudera.org:8080/1814
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic96b45e305dd4da7f9e104c22f806ecdb3f78996
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <to...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Jean-Daniel Cryans