Skip to content

Commit bf61996

Browse files
committed
stablize test run for large cluster
1 parent 18c856d commit bf61996

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancerLargeCluster.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public void testLargeCluster() {
3838
int numRegionsPerServer = 80; // all servers except one
3939
int numTables = 100;
4040
int replication = 1;
41-
conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 3 * 60 * 1000);
42-
conf.setBoolean("hbase.master.balancer.stochastic.runMaxSteps", true);
41+
conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 6 * 60 * 1000);
42+
conf.setLong(StochasticLoadBalancer.MAX_STEPS_KEY, 20000000L);
4343
loadBalancer.onConfigurationChange(conf);
4444
testWithCluster(numNodes, numRegions, numRegionsPerServer, replication, numTables, true, true);
4545
}

0 commit comments

Comments
 (0)