From 33287ac50207bb67b0447f247e193b0a67904896 Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Thu, 25 Nov 2021 21:40:46 +0800 Subject: [PATCH] HBASE-26455 TestStochasticLoadBalancerRegionReplicaWithRacks fails consistently (#3879) Signed-off-by: Xiaolin Ha Signed-off-by: GeorryHuang --- .../TestStochasticLoadBalancerRegionReplicaWithRacks.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancerRegionReplicaWithRacks.java b/hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancerRegionReplicaWithRacks.java index 83384ee4718..eade1bf0bee 100644 --- a/hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancerRegionReplicaWithRacks.java +++ b/hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancerRegionReplicaWithRacks.java @@ -77,9 +77,9 @@ public class TestStochasticLoadBalancerRegionReplicaWithRacks extends Stochastic @Test public void testRegionReplicationOnLargeClusterWithRacks() { - conf.setBoolean("hbase.master.balancer.stochastic.runMaxSteps", false); - conf.setLong(StochasticLoadBalancer.MAX_STEPS_KEY, 5000L); - conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 10 * 1000); // 10 sec + conf.setBoolean("hbase.master.balancer.stochastic.runMaxSteps", true); + conf.setLong(StochasticLoadBalancer.MAX_STEPS_KEY, 100000000L); + conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 120 * 1000); // 10 sec loadBalancer.onConfigurationChange(conf); int numNodes = 100; int numRegions = numNodes * 30;