This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new fff59ac  HBASE-26642 Increase the timeout for 
TestStochasticLoadBalancerRegionReplicaLargeCluster (#3995)
fff59ac is described below

commit fff59ac083f592a28a9bc2f47a4482eb949a03a9
Author: Duo Zhang <[email protected]>
AuthorDate: Mon Jan 3 23:13:05 2022 +0800

    HBASE-26642 Increase the timeout for 
TestStochasticLoadBalancerRegionReplicaLargeCluster (#3995)
    
    Signed-off-by: Yulin Niu <[email protected]
---
 .../org/apache/hadoop/hbase/master/balancer/BalancerTestBase2.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/BalancerTestBase2.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/BalancerTestBase2.java
index e2c41ac..76ad58d 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/BalancerTestBase2.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/BalancerTestBase2.java
@@ -24,9 +24,9 @@ public class BalancerTestBase2 extends BalancerTestBase {
 
   @Before
   public void before() {
-    conf.setLong(StochasticLoadBalancer.MAX_STEPS_KEY, 2000000L);
+    conf.setLong(StochasticLoadBalancer.MAX_STEPS_KEY, 10000000L);
     conf.setFloat("hbase.master.balancer.stochastic.localityCost", 0);
-    conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 3 * 60 * 
1000L);
+    conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 5 * 60 * 
1000L);
     conf.setFloat("hbase.master.balancer.stochastic.minCostNeedBalance", 
0.05f);
     loadBalancer.onConfigurationChange(conf);
   }

Reply via email to