ndimiduk commented on code in PR #6651:
URL: https://github.com/apache/hbase/pull/6651#discussion_r1965236961
##########
hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/TestLargeClusterBalancingConditionalReplicaDistribution.java:
##########
@@ -96,11 +96,10 @@ private static TableName getTableName(int i) {
@Test
public void testReplicaDistribution() {
Configuration conf = new Configuration(true);
- conf.setBoolean(BalancerConditionals.DISTRIBUTE_REPLICAS_KEY, true);
- conf.setBoolean(DistributeReplicasConditional.TEST_MODE_ENABLED_KEY, true);
+
DistributeReplicasTestConditional.enableConditionalReplicaDistributionForTest(conf);
conf.setBoolean(ReplicaKeyCache.CACHE_REPLICA_KEYS_KEY, true);
conf.setInt(ReplicaKeyCache.REPLICA_KEY_CACHE_SIZE_KEY, Integer.MAX_VALUE);
- conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 30_000);
+ conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 120_000);
Review Comment:
According to the annotation, a LargeTest is permitted to run up to 10
minutes (I think that's the whole class). You have some room to work with if it
means the test will run reliably on our CI environment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]