drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [2/2] drill git commit: DRILL-3836: Find free port automatically in TestBitRpc
Date Fri, 25 Sep 2015 00:20:43 GMT
DRILL-3836: Find free port automatically in TestBitRpc

This closes #168


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/b8573526
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/b8573526
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/b8573526

Branch: refs/heads/master
Commit: b8573526da7403270002fe1524b683d04c4c7909
Parents: b628298
Author: Julien Le Dem <julien@ledem.net>
Authored: Thu Sep 24 13:52:08 2015 -0700
Committer: Jason Altekruse <altekrusejason@gmail.com>
Committed: Thu Sep 24 16:10:46 2015 -0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/drill/exec/server/TestBitRpc.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/b8573526/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestBitRpc.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestBitRpc.java b/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestBitRpc.java
index 72e6c44..71b0b1d 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestBitRpc.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestBitRpc.java
@@ -88,7 +88,7 @@ public class TestBitRpc extends ExecTest {
     DataResponseHandler drp = new BitComTestHandler();
     DataServer server = new DataServer(c, workBus, drp);
 
-    port = server.bind(port, false);
+    port = server.bind(port, true);
     DrillbitEndpoint ep = DrillbitEndpoint.newBuilder().setAddress("localhost").setDataPort(port).build();
     DataConnectionManager manager = new DataConnectionManager(ep, c2);
     DataTunnel tunnel = new DataTunnel(manager);


Mime
View raw message