You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ni...@apache.org on 2021/04/21 06:47:37 UTC

[hbase] branch branch-2 updated: HBASE-25763 TestRSGroupsWithACL.setupBeforeClass is flaky (#3158)

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

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


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 4b916ea  HBASE-25763 TestRSGroupsWithACL.setupBeforeClass is flaky (#3158)
4b916ea is described below

commit 4b916ea0eb78b70fbd3da01f3b7a770493e68e0d
Author: haxiaolin <su...@gmail.com>
AuthorDate: Wed Apr 21 14:41:51 2021 +0800

    HBASE-25763 TestRSGroupsWithACL.setupBeforeClass is flaky (#3158)
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
    Signed-off-by: Yulin Niu <ni...@apache.org>
---
 .../test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsWithACL.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsWithACL.java b/hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsWithACL.java
index eda0845..734b3a6 100644
--- a/hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsWithACL.java
+++ b/hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsWithACL.java
@@ -119,6 +119,8 @@ public class TestRSGroupsWithACL extends SecureTestUtil{
         getMasterCoprocessorHost().findCoprocessor(RSGroupAdminEndpoint.class.getName());
     // Wait for the ACL table to become available
     TEST_UTIL.waitUntilAllRegionsAssigned(PermissionStorage.ACL_TABLE_NAME);
+    TEST_UTIL.waitUntilAllRegionsAssigned(RSGroupInfoManagerImpl.RSGROUP_TABLE_NAME);
+    TEST_UTIL.waitUntilNoRegionsInTransition();
 
     // create a set of test users
     SUPERUSER = User.createUserForTesting(conf, "admin", new String[] { "supergroup" });