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:54:37 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 62b491ef5 -> 4e9136e03


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/4e9136e0
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/4e9136e0
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/4e9136e0

Branch: refs/heads/branch-1.2
Commit: 4e9136e03aaeae6e6cf1426ca57ca4d8eb2f76cd
Parents: 62b491e
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:13 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/4e9136e0/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