From c60359959c68accdac6df12874cee3d2eba21af6 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Sun, 21 Jan 2018 23:03:16 -0800 Subject: [PATCH] HBASE-19837 Flakey TestRegionLoad Add debug, change name of the rows so readable. --- .../src/test/java/org/apache/hadoop/hbase/TestRegionLoad.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestRegionLoad.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestRegionLoad.java index 9712b9e9510..5eace2b6103 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestRegionLoad.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestRegionLoad.java @@ -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)));