diff --git a/internal/util/pipeline/stream_pipeline_test.go b/internal/util/pipeline/stream_pipeline_test.go index 1b28b558e8645..b77bfae9f9dc9 100644 --- a/internal/util/pipeline/stream_pipeline_test.go +++ b/internal/util/pipeline/stream_pipeline_test.go @@ -21,6 +21,8 @@ import ( "fmt" "testing" + "github.com/milvus-io/milvus/pkg/util/paramtable" + "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" @@ -42,6 +44,7 @@ type StreamPipelineSuite struct { } func (suite *StreamPipelineSuite) SetupTest() { + paramtable.Init() suite.channel = "test-channel" suite.inChannel = make(chan *msgstream.MsgPack, 1) suite.outChannel = make(chan msgstream.Timestamp)