hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-17703 Added random infoport to TestThriftServerCmdLine
Date Fri, 03 Mar 2017 20:38:32 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 678ad0ea7 -> d3bf24642


HBASE-17703 Added random infoport to TestThriftServerCmdLine

Signed-off-by: tedyu <yuzhihong@gmail.com>


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

Branch: refs/heads/master
Commit: d3bf246421407dd811ac1c96bc5aa7b7a32dc94a
Parents: 678ad0e
Author: Jan Hentschel <jan.hentschel@ultratendency.com>
Authored: Fri Mar 3 20:03:02 2017 +0100
Committer: tedyu <yuzhihong@gmail.com>
Committed: Fri Mar 3 12:38:21 2017 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d3bf2464/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java
----------------------------------------------------------------------
diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java
b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java
index 82d5bb1..457273e 100644
--- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java
+++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java
@@ -160,6 +160,10 @@ public class TestThriftServerCmdLine {
     port = HBaseTestingUtility.randomFreePort();
     args.add("-" + ThriftServer.PORT_OPTION);
     args.add(String.valueOf(port));
+    args.add("-infoport");
+    int infoPort = HBaseTestingUtility.randomFreePort();
+    args.add(String.valueOf(infoPort));
+
     if (specifyFramed) {
       args.add("-" + ThriftServer.FRAMED_OPTION);
     }


Mime
View raw message