Skip to content

Commit

Permalink
Changes watermark advance from 1001 to 1000 since Dataflow TestStream…
Browse files Browse the repository at this point in the history
… only advances watermark at 1s resolution.
  • Loading branch information
acrites committed Jan 15, 2020
1 parent 2021531 commit 17398f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void testDiscardingMode() {
TimestampedValue.of("firstPane", new Instant(100)),
TimestampedValue.of("alsoFirstPane", new Instant(200)))
.addElements(TimestampedValue.of("onTimePane", new Instant(500)))
.advanceWatermarkTo(new Instant(1001L))
.advanceWatermarkTo(new Instant(1000L))
.addElements(
TimestampedValue.of("finalLatePane", new Instant(750)),
TimestampedValue.of("alsoFinalLatePane", new Instant(250)))
Expand Down

0 comments on commit 17398f7

Please sign in to comment.