Github user aljoscha commented on the issue:
https://github.com/apache/flink/pull/5901
If I only remove this line I mentioned earlier from `master` the test
actually fails for me:
https://github.com/apache/flink/blob/af5279e9bd3dec18512a54c59982e3dc1f253cd2/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java#L531
Because #5896 is not in. I'm still wondering why this PR here succeeds
without the fixes.---
