infraio commented on a change in pull request #996: HBASE-23655 Fix flaky TestRSGroupsKillRS: should wait the SCP to finish URL: https://github.com/apache/hbase/pull/996#discussion_r364040746
########## File path: hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsKillRS.java ########## @@ -268,7 +269,9 @@ public void testLowerMetaGroupVersion() throws Exception{ assertTrue(VersionInfo.compareVersion(originVersion, master.getRegionServerVersion(getServerName(servers.iterator().next()))) > 0); LOG.debug("wait for META assigned..."); - TEST_UTIL.waitTableAvailable(tableName, 30000); + TEST_UTIL.waitFor(60000, () -> !TEST_UTIL.getHBaseCluster().getMaster().getProcedures().stream() Review comment: Yes. This is the root cause. In my test, the waitUntilAllRegionsAssigned and waitTableAvailable not worked for meta table... ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services