alirezazamani commented on a change in pull request #1520:
URL: https://github.com/apache/helix/pull/1520#discussion_r520143020
##########
File path:
helix-rest/src/test/java/org/apache/helix/rest/server/AbstractTestClass.java
##########
@@ -451,7 +451,7 @@ protected ClusterControllerManager startController(String
cluster) {
for (int i = 0; i < numJobs; i++) {
JobConfig.Builder job =
new
JobConfig.Builder().setCommand("DummyCommand").setTargetResource("RESOURCE")
- .setWorkflow(workflowName);
+ .setWorkflow(workflowName).setJobId(workflowName + "_" +
JOB_PREFIX + i);
Review comment:
This is necessary to have due to #1391. Previously we were relying on
the ideal state. Now once the config is added, the controller will process the
job. If the job config does not have an ID field, TaskData cache does not see
the config and the job will not get processed.
----------------------------------------------------------------
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]