Repository: hbase Updated Branches: refs/heads/master 86f4df5f7 -> c60359959
HBASE-19837 Flakey TestRegionLoad Add debug, change name of the rows so readable. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c6035995 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c6035995 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c6035995 Branch: refs/heads/master Commit: c60359959c68accdac6df12874cee3d2eba21af6 Parents: 86f4df5 Author: Michael Stack <st...@apache.org> Authored: Sun Jan 21 23:03:16 2018 -0800 Committer: Michael Stack <st...@apache.org> Committed: Mon Jan 22 08:01:57 2018 -0800 ---------------------------------------------------------------------- .../src/test/java/org/apache/hadoop/hbase/TestRegionLoad.java | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/c6035995/hbase-server/src/test/java/org/apache/hadoop/hbase/TestRegionLoad.java ---------------------------------------------------------------------- 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 9712b9e..5eace2b 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)));