diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestSplitMerge.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestSplitMerge.java index 5f966784585..641e52e1155 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestSplitMerge.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestSplitMerge.java @@ -79,6 +79,7 @@ public class TestSplitMerge { return "Split has not finished yet"; } }); + UTIL.waitUntilNoRegionsInTransition(); RegionInfo regionA = null; RegionInfo regionB = null; for (RegionInfo region : UTIL.getAdmin().getRegions(tableName)) {