Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesCheung96 committed Jul 2, 2022
1 parent 374d695 commit 515377f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdc/processor/pipeline/sink_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func TestState(t *testing.T) {
// test stop at targetTs
targetTs := model.Ts(10)
node := newSinkNode(1, &mockSink{}, 0, targetTs, &mockFlowController{}, redo.NewDisabledManager(),
&state, ctx.ChangefeedVars().ID, false)
&state, ctx.ChangefeedVars().ID, true)
node.initWithReplicaConfig(pipeline.MockNodeContext4Test(ctx, pmessage.Message{}, nil).
ChangefeedVars().Info.Config)
require.Equal(t, TableStatePrepared, node.State())
Expand Down

0 comments on commit 515377f

Please sign in to comment.