Github user StefanRRichter commented on a diff in the pull request:
https://github.com/apache/flink/pull/5239#discussion_r168169149
--- Diff:
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/StreamTaskTerminationTest.java
---
@@ -227,21 +229,13 @@ protected void cleanup() throws Exception {
// has been stopped
CLEANUP_LATCH.trigger();
- // wait until handle async exception has been called to
proceed with the termination of the
- // StreamTask
- HANDLE_ASYNC_EXCEPTION_LATCH.await();
--- End diff --
Already done in a later commit.
---