mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Remove datanode mock test error (#9211)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
This commit is contained in:
parent
2ed1e825f4
commit
83f256c31b
@ -51,10 +51,10 @@ func newIDLEDataNodeMock(ctx context.Context) *DataNode {
|
||||
collectionID: 1,
|
||||
collectionName: "collection-1",
|
||||
}
|
||||
node.SetRootCoordInterface(rc)
|
||||
node.rootCoord = rc
|
||||
|
||||
ds := &DataCoordFactory{}
|
||||
node.SetDataCoordInterface(ds)
|
||||
node.dataCoord = ds
|
||||
|
||||
return node
|
||||
}
|
||||
@ -82,11 +82,10 @@ func newHEALTHDataNodeMock(dmChannelName string) *DataNode {
|
||||
collectionID: 1,
|
||||
collectionName: "collection-1",
|
||||
}
|
||||
|
||||
node.SetRootCoordInterface(ms)
|
||||
node.rootCoord = ms
|
||||
|
||||
ds := &DataCoordFactory{}
|
||||
node.SetDataCoordInterface(ds)
|
||||
node.dataCoord = ds
|
||||
|
||||
return node
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user