Skip to content

Commit

Permalink
Flink: Backport PR apache#10526 to v1.18 and v1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongqishang committed Aug 27, 2024
1 parent 2d351b0 commit f6fe65c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ public void testOrderedEventsBetweenCheckpoints() throws Exception {
RowData row1 = SimpleDataUtil.createRowData(1, "hello");
DataFile dataFile1 = writeDataFile("data-1", ImmutableList.of(row1));

harness.processElement(of(checkpoint, dataFile1), ++timestamp);
long firstCheckpointId = 1;
harness.processElement(of(firstCheckpointId, dataFile1), ++timestamp);
assertMaxCommittedCheckpointId(jobId, operatorId, -1L);

// 1. snapshotState for checkpoint#1
Expand Down Expand Up @@ -750,8 +751,7 @@ public void testFlinkManifests() throws Exception {
RowData row1 = SimpleDataUtil.createRowData(1, "hello");
DataFile dataFile1 = writeDataFile("data-1", ImmutableList.of(row1));

long firstCheckpointId = 1;
harness.processElement(of(firstCheckpointId, dataFile1), ++timestamp);
harness.processElement(of(checkpoint, dataFile1), ++timestamp);
assertMaxCommittedCheckpointId(jobId, operatorId, -1L);

// 1. snapshotState for checkpoint#1
Expand Down

0 comments on commit f6fe65c

Please sign in to comment.