jiajunwang commented on a change in pull request #1401:
URL: https://github.com/apache/helix/pull/1401#discussion_r493973054
##########
File path:
helix-core/src/test/java/org/apache/helix/integration/rebalancer/TestAutoRebalancePartitionLimit.java
##########
@@ -54,7 +56,13 @@ public void beforeClass() throws Exception {
_gSetupTool.addCluster(CLUSTER_NAME, true);
_gSetupTool.addResourceToCluster(CLUSTER_NAME, TEST_DB, 100,
"OnlineOffline",
- RebalanceMode.FULL_AUTO + "", 0, 25);
+ RebalanceMode.FULL_AUTO.name(), 0, 25);
+
+ IdealState idealState =
+
_gSetupTool.getClusterManagementTool().getResourceIdealState(CLUSTER_NAME,
TEST_DB);
+ idealState.setRebalancerClassName(AutoRebalancer.class.getName());
Review comment:
Sure. Let me note this is to ensure we are testing AutoRebalancer.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]