You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2015/02/28 04:59:15 UTC

hbase git commit: HBASE-13084 addendum disable info server in shell test

Repository: hbase
Updated Branches:
  refs/heads/master bec2b0d32 -> fdb48a7bb


HBASE-13084 addendum disable info server in shell test

Signed-off-by: stack <st...@apache.org>


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

Branch: refs/heads/master
Commit: fdb48a7bbeecf891a0fc74171961901fbfdb5664
Parents: bec2b0d
Author: zhangduo <zh...@wandoujia.com>
Authored: Sat Feb 28 11:21:03 2015 +0800
Committer: stack <st...@apache.org>
Committed: Fri Feb 27 19:59:04 2015 -0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/client/AbstractTestShell.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/fdb48a7b/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
----------------------------------------------------------------------
diff --git a/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java b/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
index f75cea3..24d07ed 100644
--- a/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
+++ b/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
@@ -43,6 +43,8 @@ public abstract class AbstractTestShell {
     TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 6);
     TEST_UTIL.getConfiguration().setBoolean(CoprocessorHost.ABORT_ON_ERROR_KEY, false);
     TEST_UTIL.getConfiguration().setInt("hfile.format.version", 3);
+    TEST_UTIL.getConfiguration().setInt(HConstants.MASTER_INFO_PORT, -1);
+    TEST_UTIL.getConfiguration().setInt(HConstants.REGIONSERVER_INFO_PORT, -1);
     // Security setup configuration
     SecureTestUtil.enableSecurity(TEST_UTIL.getConfiguration());
     VisibilityTestUtil.enableVisiblityLabels(TEST_UTIL.getConfiguration());