zhuzhurk commented on a change in pull request #10832: 
[FLINK-14163][runtime]Enforce synchronous registration of 
Execution#producedPartitions
URL: https://github.com/apache/flink/pull/10832#discussion_r365720350
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/ExecutionGraphTestUtils.java
 ##########
 @@ -431,6 +433,18 @@ public static ExecutionJobVertex 
getExecutionVertex(JobVertexID id) throws Excep
                return getExecutionVertex(id, new 
DirectScheduledExecutorService());
        }
 
+       public static ExecutionEdge createMockExecutionEdge(int maxParallelism) 
{
 
 Review comment:
   We are trying to get rid of Mockito in flink tests.
   If we are touching this part, I'd prefer to introduce a mock ExecutionEdge 
class for this purpose. 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to