aljoscha commented on a change in pull request #12412:
URL: https://github.com/apache/flink/pull/12412#discussion_r433930559
##########
File path:
flink-core/src/test/java/org/apache/flink/api/common/eventtime/AscendingTimestampsWatermarksTest.java
##########
@@ -30,7 +30,10 @@
@Test
public void testWatermarkBeforeRecords() {
final TestingWatermarkOutput output = new
TestingWatermarkOutput();
- final AscendingTimestampsWatermarks<Object> watermarks = new
AscendingTimestampsWatermarks<>();
+ final WatermarkGenerator<Object> watermarks =
+ WatermarkStrategy
+ .forMonotonousTimestamps()
+ .createWatermarkGenerator(() ->
null);
Review comment:
Yes, that's a very good point!
----------------------------------------------------------------
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]