alirezazamani commented on a change in pull request #1520:
URL: https://github.com/apache/helix/pull/1520#discussion_r520144213



##########
File path: 
helix-rest/src/test/java/org/apache/helix/rest/server/AbstractTestClass.java
##########
@@ -426,9 +426,9 @@ protected ClusterControllerManager startController(String 
cluster) {
       }
       workflows.put(WORKFLOW_PREFIX + i, workflow.build());
       WorkflowContext workflowContext = TaskTestUtil
-          .buildWorkflowContext(WORKFLOW_PREFIX + i, TaskState.IN_PROGRESS,
+          .buildWorkflowContext(WORKFLOW_PREFIX + i, TaskState.FAILED,

Review comment:
       Since the test we are checking the accessor, this has been changed to 
FAILED. In this case, the status of the workflow will be unchanged and the 
controller does not change it. Hence, the job accessor test would work 
correctly.




----------------------------------------------------------------
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]

Reply via email to