arjun4084346 commented on code in PR #4040:
URL: https://github.com/apache/gobblin/pull/4040#discussion_r1735474654


##########
gobblin-runtime/src/test/java/org/apache/gobblin/service/monitoring/FlowStatusGeneratorTest.java:
##########
@@ -77,12 +77,12 @@ public void skipFlowConcurrentCheckSameFlowExecutionId() {
     JobStatus jobStatus = 
JobStatus.builder().flowGroup(flowGroup).flowName(flowName).flowExecutionId(flowExecutionId)
         
.jobName(JobStatusRetriever.NA_KEY).jobGroup(JobStatusRetriever.NA_KEY).eventName(ExecutionStatus.COMPILED.name()).build();
     Iterator<JobStatus> jobStatusIterator = 
Lists.newArrayList(jobStatus).iterator();
-    FlowStatus flowStatus = new 
FlowStatus(flowName,flowGroup,flowExecutionId,jobStatusIterator,ExecutionStatus.COMPILED);
-    
when(jobStatusRetriever.getAllFlowStatusesForFlowExecutionsOrdered(flowName, 
flowGroup)).thenReturn(
+    FlowStatus flowStatus = new FlowStatus(flowName, flowGroup, 
flowExecutionId, jobStatusIterator,ExecutionStatus.COMPILED);

Review Comment:
   yea, i am not comfortable with this state either. lets change it in some 
other PR, this one is quite urgent



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

Reply via email to