dawidwys commented on a change in pull request #14078:
URL: https://github.com/apache/flink/pull/14078#discussion_r524368553
##########
File path:
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/SourceOperatorStreamTaskTest.java
##########
@@ -99,6 +102,29 @@ public void testSnapshotAndAdvanceToEndOfEventTime() throws
Exception {
}
}
+ @Test
+ public void testEmittingMaxWatermarkAfterReadingAllRecords() throws
Exception {
+ try (StreamTaskMailboxTestHarness<Integer> testHarness =
createTestHarness()) {
+ testHarness.processAll();
Review comment:
If you find it misleading I can remove the `processAll`.
----------------------------------------------------------------
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]