Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
sdojjy committed Nov 30, 2021
1 parent d3444c1 commit 6cd2eaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cdc/processor/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
"github.com/pingcap/ticdc/cdc/model"
tablepipeline "github.com/pingcap/ticdc/cdc/processor/pipeline"
"github.com/pingcap/ticdc/cdc/redo"
"github.com/pingcap/ticdc/cdc/sink"
cdcContext "github.com/pingcap/ticdc/pkg/context"
cerror "github.com/pingcap/ticdc/pkg/errors"
"github.com/pingcap/ticdc/pkg/etcd"
Expand All @@ -48,6 +49,7 @@ func newProcessor4Test(
) *processor {
p := newProcessor(ctx)
p.lazyInit = func(ctx cdcContext.Context) error { return nil }
p.sinkManager = &sink.Manager{}
p.redoManager = redo.NewDisabledManager()
p.createTablePipeline = createTablePipeline
p.schemaStorage = &mockSchemaStorage{c: c}
Expand Down

0 comments on commit 6cd2eaa

Please sign in to comment.