HBASE-22188 Make TestSplitMerge more stable

This commit is contained in:
Duo Zhang 2019-04-08 18:33:54 +08:00 committed by Apache9
parent d32f924ef4
commit 74112e53c9
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ public class TestSplitMerge {
return "Split has not finished yet"; return "Split has not finished yet";
} }
}); });
UTIL.waitUntilNoRegionsInTransition();
RegionInfo regionA = null; RegionInfo regionA = null;
RegionInfo regionB = null; RegionInfo regionB = null;
for (RegionInfo region : UTIL.getAdmin().getRegions(tableName)) { for (RegionInfo region : UTIL.getAdmin().getRegions(tableName)) {