Github user zentol commented on the issue:
https://github.com/apache/flink/pull/5730
@tillrohrmann I've rebased and update the PR.
I've added a `getClientConfiguration()` to the `MiniClusterResource`, and
converted the MiniCluster used in the test to the `MiniClusterResource`.
I have not removed the locks though. There is indeed no difference
_currently_ between fetching the result for running and finished jobs, but we
also want to make sure it stays this way in the future.---
