milvus/internal/datacoord/compaction_task_test.go
zhenshan.cao ac4f3997ce
enhance: Reconstructing Compaction to possess persistence capability (#33265)
issue #33586

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2024-06-05 10:17:50 +08:00

24 lines
420 B
Go

package datacoord
import (
"testing"
"github.com/stretchr/testify/suite"
)
func TestCompactionTaskSuite(t *testing.T) {
suite.Run(t, new(CompactionTaskSuite))
}
type CompactionTaskSuite struct {
suite.Suite
mockMeta *MockCompactionMeta
mockSessMgr *MockSessionManager
}
func (s *CompactionTaskSuite) SetupTest() {
s.mockMeta = NewMockCompactionMeta(s.T())
s.mockSessMgr = NewMockSessionManager(s.T())
}