hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chia7...@apache.org
Subject hbase git commit: HBASE-18996 Backport HBASE-17703 (TestThriftServerCmdLine is flaky in master branch) to branch-1
Date Mon, 06 Nov 2017 03:55:04 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 3a8800493 -> df419a168


HBASE-18996 Backport HBASE-17703 (TestThriftServerCmdLine is flaky in master branch) to branch-1

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>


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

Branch: refs/heads/branch-1.3
Commit: df419a16881c0efc434ab28e981d66fd1ade5353
Parents: 3a88004
Author: Peter Somogyi <psomogyi@cloudera.com>
Authored: Thu Oct 12 10:08:58 2017 -0700
Committer: Chia-Ping Tsai <chia7712@gmail.com>
Committed: Mon Nov 6 11:53:08 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/df419a16/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 81cf78a..be4485b 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
@@ -159,6 +159,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