Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: yangxuan <[email protected]>
  • Loading branch information
XuanYang-cn committed Nov 5, 2024
1 parent 61d4769 commit 32e451d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/datacoord/meta_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (suite *MetaBasicSuite) TestCollection() {
}

func (suite *MetaBasicSuite) TestCompleteCompactionMutation() {
getLatestSemgnets := func() *SegmentsInfo {
getLatestSegments := func() *SegmentsInfo {
latestSegments := NewSegmentsInfo()
for segID, segment := range map[UniqueID]*SegmentInfo{
1: {SegmentInfo: &datapb.SegmentInfo{
Expand Down Expand Up @@ -219,7 +219,7 @@ func (suite *MetaBasicSuite) TestCompleteCompactionMutation() {
mockChMgr := mocks.NewChunkManager(suite.T())

suite.Run("test complete with compactTo 0 num of rows", func() {
latestSegments := getLatestSemgnets()
latestSegments := getLatestSegments()
compactToSeg := &datapb.CompactionSegment{
SegmentID: 4,
InsertLogs: []*datapb.FieldBinlog{},
Expand Down Expand Up @@ -280,7 +280,7 @@ func (suite *MetaBasicSuite) TestCompleteCompactionMutation() {
})

suite.Run("test complete compaction mutation", func() {
latestSegments := getLatestSemgnets()
latestSegments := getLatestSegments()
compactToSeg := &datapb.CompactionSegment{
SegmentID: 3,
InsertLogs: []*datapb.FieldBinlog{getFieldBinlogIDs(0, 50000)},
Expand Down

0 comments on commit 32e451d

Please sign in to comment.