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/18 06:06:24 UTC
[hbase] branch branch-2.2 updated: HBASE-24895 Speed up
TestFromClientSide3 by reduce the table regions number (#2269)
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 8329591 HBASE-24895 Speed up TestFromClientSide3 by reduce the table regions number (#2269)
8329591 is described below
commit 8329591b45af32ac8b502198330a44d35d85832c
Author: Guanghao Zhang <zg...@apache.org>
AuthorDate: Tue Aug 18 14:06:02 2020 +0800
HBASE-24895 Speed up TestFromClientSide3 by reduce the table regions number (#2269)
Signed-off-by: meiyi <my...@gmail.com>
---
.../test/java/org/apache/hadoop/hbase/client/TestFromClientSide3.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide3.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide3.java
index fdf21f9..e3d9a7e 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide3.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide3.java
@@ -581,7 +581,7 @@ public class TestFromClientSide3 {
public void testHTableExistsMethodMultipleRegionsSingleGet() throws Exception {
try (Table table = TEST_UTIL.createTable(
tableName, new byte[][] { FAMILY },
- 1, new byte[] { 0x00 }, new byte[] { (byte) 0xff }, 255)) {
+ 1, new byte[] { 0x00 }, new byte[] { (byte) 0xff }, 10)) {
TEST_UTIL.waitTableAvailable(tableName, WAITTABLE_MILLIS);
Put put = new Put(ROW);
@@ -603,7 +603,7 @@ public class TestFromClientSide3 {
public void testHTableExistsMethodMultipleRegionsMultipleGets() throws Exception {
try (Table table = TEST_UTIL.createTable(
tableName,
- new byte[][] { FAMILY }, 1, new byte[] { 0x00 }, new byte[] { (byte) 0xff }, 255)) {
+ new byte[][] { FAMILY }, 1, new byte[] { 0x00 }, new byte[] { (byte) 0xff }, 10)) {
TEST_UTIL.waitTableAvailable(tableName, WAITTABLE_MILLIS);
Put put = new Put(ROW);