Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/5771#discussion_r177339622 --- Diff: flink-tests/src/test/java/org/apache/flink/test/accumulators/AccumulatorLiveITCase.java --- @@ -167,6 +172,9 @@ private static void submitJobAndVerifyResults(JobGraph jobGraph) throws Exceptio NotifyingMapper.shutdownLatch.trigger(); } finally { NotifyingMapper.shutdownLatch.trigger(); + + // wait for the completion of the job + clusterClient.requestJobResult(jobGraph.getJobID()).get(); --- End diff -- instead of introducing a new client interface _this late in the porting_ we could instead poll until the job is in a `FINISHED` state.
---