kl0u commented on a change in pull request #9143: [FLINK-13307] Fix
SourceStreamTaskTest test instability.
URL: https://github.com/apache/flink/pull/9143#discussion_r304349614
##########
File path:
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/SourceStreamTaskTest.java
##########
@@ -275,13 +280,16 @@ public void finishingIgnoresExceptions() throws
Exception {
SourceStreamTask::new,
BasicTypeInfo.STRING_TYPE_INFO);
+ final CompletableFuture<Void> waitingLatch = new
CompletableFuture<>();
Review comment:
In this specific case it can. Normally the good thing about the latch is
that you can reset it, which here we do not need.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services