HBASE-25763 TestRSGroupsWithACL.setupBeforeClass is flaky (#3158)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Yulin Niu <niuyulin@apache.org>
This commit is contained in:
haxiaolin 2021-04-21 14:41:51 +08:00 committed by GitHub
parent 781da1899a
commit 0d257baf29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,8 @@ public class TestRSGroupsWithACL extends SecureTestUtil {
TEST_UTIL.startMiniCluster(); TEST_UTIL.startMiniCluster();
// Wait for the ACL table to become available // Wait for the ACL table to become available
TEST_UTIL.waitUntilAllRegionsAssigned(PermissionStorage.ACL_TABLE_NAME); TEST_UTIL.waitUntilAllRegionsAssigned(PermissionStorage.ACL_TABLE_NAME);
TEST_UTIL.waitUntilAllRegionsAssigned(RSGroupInfoManagerImpl.RSGROUP_TABLE_NAME);
TEST_UTIL.waitUntilNoRegionsInTransition();
// create a set of test users // create a set of test users
SUPERUSER = User.createUserForTesting(conf, "admin", new String[] { "supergroup" }); SUPERUSER = User.createUserForTesting(conf, "admin", new String[] { "supergroup" });