Skip to content

Commit

Permalink
[hotfix][checkpoint] Fix the wrong parameters due to base code change…
Browse files Browse the repository at this point in the history
… in StreamTaskFinalCheckpointsTest
  • Loading branch information
gaoyunhaii committed Dec 22, 2021
1 parent e8bd52b commit f191bec
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,10 @@ public void testWaitingForUnalignedChannelStatesIfFinishedOnRestore() throws Exc
checkpointResponder.setDeclinedLatch(new OneShotLatch());

CheckpointBarrier unalignedBarrier =
new CheckpointBarrier(2, 2, CheckpointOptions.unaligned(getDefault()));
new CheckpointBarrier(
2,
2,
CheckpointOptions.unaligned(CheckpointType.CHECKPOINT, getDefault()));

// On first unaligned barrier, the task would take snapshot and start the asynchronous
// part. We slightly extend the process to make the asynchronous part start executing
Expand Down

0 comments on commit f191bec

Please sign in to comment.