HBASE-19837 Flakey TestRegionLoad

Add debug, change name of the rows so readable.
This commit is contained in:
Michael Stack 2018-01-21 23:03:16 -08:00
parent 86f4df5f74
commit c60359959c
1 changed files with 4 additions and 0 deletions

View File

@ -111,6 +111,10 @@ public class TestRegionLoad {
checkRegionsAndRegionLoads(tableRegions, regionLoads);
}
// Just wait here. If this fixes the test, come back and do a better job.
// Thought is that cluster status is stale.
Threads.sleep(10000);
// Check RegionLoad matches the regionLoad from ClusterStatus
ClusterStatus clusterStatus
= new ClusterStatus(admin.getClusterMetrics(EnumSet.of(Option.LIVE_SERVERS)));