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 stack
parent 141ccc4fd2
commit 100a625324
1 changed files with 1 additions and 0 deletions

View File

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