alirezazamani commented on a change in pull request #1468:
URL: https://github.com/apache/helix/pull/1468#discussion_r511684039
##########
File path: helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
##########
@@ -699,6 +798,73 @@ private void addTaskToJobConfig(String workflowName,
String jobName, TaskConfig
throw new TimeoutException("An unexpected issue happened while task being
added to the job!");
}
+ /**
+ * A helper method which deletes an existing task from the job config and
verifies if task is
+ * deleted from the context by the controller.
+ * @param workflowName
+ * @param jobName
+ * @param taskID
+ * @param endTime
+ * @throws InterruptedException
+ * @throws TimeoutException
+ */
+ private void deleteTaskFromJobConfig(String workflowName, String jobName,
String taskID,
Review comment:
Done. Merged the update part in one method.
----------------------------------------------------------------
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]