tillrohrmann commented on a change in pull request #15093:
URL: https://github.com/apache/flink/pull/15093#discussion_r588347940
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/entrypoint/component/FileJobGraphRetrieverTest.java
##########
@@ -67,7 +68,11 @@ public static void init() throws IOException {
final JobVertex source = new JobVertex("source");
final JobVertex target = new JobVertex("target");
- final JobGraph jobGraph = new JobGraph(new JobID(), "test", source,
target);
+ final JobGraph jobGraph =
+ JobGraphBuilder.newStreamingJobGraphBuilder()
+ .addJobVertices(Arrays.asList(source, target))
+
.addClasspaths(Collections.singletonList(jarFileInJobGraph.toUri().toURL()))
+ .build();
jobGraph.setClasspaths(Collections.singletonList(jarFileInJobGraph.toUri().toURL()));
Review comment:
Good catch. Will remove it.
----------------------------------------------------------------
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]