From 747d000808bc9d93d9ee54b751f4bff84a9042f9 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 fe74572181e..88c3dffcac2 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 @@ -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());