HBASE-22188 Make TestSplitMerge more stable

This commit is contained in:
Duo Zhang 2019-04-08 18:33:54 +08:00
parent 0e85571b39
commit 9a1a7eb8c4
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)) {