GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/5727
[FLINK-8964][tests] Port JobSubmissionFailsITCase to flip6
## What is the purpose of the change
Ports the `JobSubmissionFailsITCase` to use `MiniClusterResource`.
## Brief change log
* add utility method to `ExceptionUtils` for finding a `Throwable` matching
a `Predicate`
* remove `testSubmitNullJobGraph`; the test wasn't testing any runtime code
* replace static working JobGraph with a factory method, as submitting the
same JobGraph twice doesn't work on Flip6
* introduce `MiniClusterResource`
## Verifying this change
Run `JobSubmissionFailsITCase` with `flip6` profile enabled/disabled.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 8964
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5727.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5727
----
----
---