Skip to content

Commit

Permalink
fix check error
Browse files Browse the repository at this point in the history
  • Loading branch information
asddongmen committed Jan 10, 2022
1 parent 0faabce commit 64626e5
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 @@ -602,7 +602,7 @@ func (s *outputSuite) TestFlushSinkReleaseFlowController(c *check.C) {
flowController := &flushFlowController{}
sink := &flushSink{}
// sNode is a sinkNode
sNode := newSinkNode(sink, 0, 10, flowController)
sNode := newSinkNode(1, sink, 0, 10, flowController)
c.Assert(sNode.Init(pipeline.MockNodeContext4Test(ctx, pipeline.Message{}, nil)), check.IsNil)
sNode.barrierTs = 10

Expand Down

0 comments on commit 64626e5

Please sign in to comment.