HBASE-22733 TestSplitTransactionOnCluster.testMasterRestartAtRegionSplitPendingCatalogJanitor is flakey (#408)

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
linkaline 2019-07-26 02:09:07 +08:00 committed by Michael Stack
parent de98fee288
commit 747d000808
1 changed files with 1 additions and 0 deletions

View File

@ -541,6 +541,7 @@ public class TestSplitTransactionOnCluster {
rst.getRegionServer().compactedFileDischarger.setUseExecutor(oldSetting);
}
cluster.getMaster().setCatalogJanitorEnabled(true);
ProcedureTestingUtility.waitAllProcedures(cluster.getMaster().getMasterProcedureExecutor());
LOG.info("Starting run of CatalogJanitor");
cluster.getMaster().getCatalogJanitor().run();
ProcedureTestingUtility.waitAllProcedures(cluster.getMaster().getMasterProcedureExecutor());