HBASE-22733 TestSplitTransactionOnCluster.testMasterRestartAtRegionSplitPendingCatalogJanitor is flakey (#408)
Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
141ccc4fd2
commit
100a625324
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue