tillrohrmann opened a new pull request #15093: URL: https://github.com/apache/flink/pull/15093
This PR consolidates the `JobGraph` generation into as few places as possible. Moreover it introduces explicit factory methods for streaming and batch `JobGraphs` (`JobType.STREAMING` and `JobType.BATCH`) in order to better classify which tests can be run with the `AdaptiveScheduler` and which strictly require the `DefaultScheduler`. This PR also introduces a `JobGraphBuilder` which can be used to make the `JobGraph` an immutable data structure. This builder is then used for the more complex `JobGraph` creations for tests. Last but not least, this PR adapts some failing tests (mainly `DispatcherTest`) to also work with the `AdaptiveScheduler`. ---------------------------------------------------------------- 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]
