From 100a625324461720b14fed198d529e5806a13fec Mon Sep 17 00:00:00 2001 From: linkaline Date: Fri, 26 Jul 2019 02:09:07 +0800 Subject: [PATCH] HBASE-22733 TestSplitTransactionOnCluster.testMasterRestartAtRegionSplitPendingCatalogJanitor is flakey (#408) Signed-off-by: stack --- .../hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java index 29a91075cfd..f8651c2906d 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java @@ -565,6 +565,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());