XComp commented on a change in pull request #15262:
URL: https://github.com/apache/flink/pull/15262#discussion_r596790035



##########
File path: 
flink-clients/src/test/java/org/apache/flink/client/program/PerJobMiniClusterFactoryTest.java
##########
@@ -190,6 +190,7 @@ private static JobGraph getNoopJobGraph() {
     private static JobGraph getCancellableJobGraph() {
         JobVertex jobVertex = new JobVertex("jobVertex");
         jobVertex.setInvokableClass(MyCancellableInvokable.class);
+        jobVertex.setParallelism(1);

Review comment:
       I thought about that decided against it: I first assumed 
`JobGraphBuilder` being a testing class. But realizing that it's part of the 
production code I hesitated to change the class' contract to fix test issues.




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


Reply via email to