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 5cce0f8f7d
commit d4ffee2023
1 changed files with 4 additions and 0 deletions

View File

@ -111,6 +111,10 @@ public class TestRegionLoad {
checkRegionsAndRegionLoads(tableRegions, regionLoads); 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 // Check RegionLoad matches the regionLoad from ClusterStatus
ClusterStatus clusterStatus ClusterStatus clusterStatus
= new ClusterStatus(admin.getClusterMetrics(EnumSet.of(Option.LIVE_SERVERS))); = new ClusterStatus(admin.getClusterMetrics(EnumSet.of(Option.LIVE_SERVERS)));