HBASE-26455 TestStochasticLoadBalancerRegionReplicaWithRacks fails consistently (#3879)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org> Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
This commit is contained in:
parent
9fd58fecf0
commit
33287ac502
|
@ -77,9 +77,9 @@ public class TestStochasticLoadBalancerRegionReplicaWithRacks extends Stochastic
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testRegionReplicationOnLargeClusterWithRacks() {
|
public void testRegionReplicationOnLargeClusterWithRacks() {
|
||||||
conf.setBoolean("hbase.master.balancer.stochastic.runMaxSteps", false);
|
conf.setBoolean("hbase.master.balancer.stochastic.runMaxSteps", true);
|
||||||
conf.setLong(StochasticLoadBalancer.MAX_STEPS_KEY, 5000L);
|
conf.setLong(StochasticLoadBalancer.MAX_STEPS_KEY, 100000000L);
|
||||||
conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 10 * 1000); // 10 sec
|
conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 120 * 1000); // 10 sec
|
||||||
loadBalancer.onConfigurationChange(conf);
|
loadBalancer.onConfigurationChange(conf);
|
||||||
int numNodes = 100;
|
int numNodes = 100;
|
||||||
int numRegions = numNodes * 30;
|
int numRegions = numNodes * 30;
|
||||||
|
|
Loading…
Reference in New Issue