You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zg...@apache.org on 2020/08/25 13:59:32 UTC

[hbase] branch branch-2.2 updated: HBASE-24948 Reduce the resource of TestReplicationBase (#2306)

This is an automated email from the ASF dual-hosted git repository.

zghao pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.2 by this push:
     new 3855017  HBASE-24948 Reduce the resource of TestReplicationBase (#2306)
3855017 is described below

commit 385501727d1fabff9f37811604cf026dc4da4ab0
Author: Guanghao Zhang <zg...@apache.org>
AuthorDate: Tue Aug 25 21:59:04 2020 +0800

    HBASE-24948 Reduce the resource of TestReplicationBase (#2306)
    
    Signed-off-by: Viraj Jasani <vj...@apache.org>
    Signed-off-by: meiyi <my...@gmail.com>
---
 .../java/org/apache/hadoop/hbase/replication/TestReplicationBase.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationBase.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationBase.java
index 3d58b0a..caf0c96 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationBase.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationBase.java
@@ -229,10 +229,10 @@ public class TestReplicationBase {
     Connection connection1 = ConnectionFactory.createConnection(CONF1);
     Connection connection2 = ConnectionFactory.createConnection(CONF2);
     try (Admin admin1 = connection1.getAdmin()) {
-      admin1.createTable(table, HBaseTestingUtility.KEYS_FOR_HBA_CREATE_TABLE);
+      admin1.createTable(table, Bytes.toBytes("aaa"), Bytes.toBytes("zzz"), 3);
     }
     try (Admin admin2 = connection2.getAdmin()) {
-      admin2.createTable(table, HBaseTestingUtility.KEYS_FOR_HBA_CREATE_TABLE);
+      admin2.createTable(table, Bytes.toBytes("aaa"), Bytes.toBytes("zzz"), 3);
     }
     UTIL1.waitUntilAllRegionsAssigned(tableName);
     UTIL2.waitUntilAllRegionsAssigned(tableName);