mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: ut failure (#32120)
issue: #30647 Signed-off-by: chyezh <chyezh@outlook.com>
This commit is contained in:
parent
1b5554c8cb
commit
a3d6110957
@ -134,10 +134,10 @@ func (suite *LeaderViewManagerSuite) TestGetByFilter() {
|
||||
// Test WithReplica
|
||||
for i, collectionID := range suite.collections {
|
||||
replica := newReplica(&querypb.Replica{
|
||||
ID: int64(i),
|
||||
CollectionID: collectionID,
|
||||
Nodes: suite.nodes,
|
||||
})
|
||||
ID: int64(i),
|
||||
CollectionID: collectionID,
|
||||
Nodes: suite.nodes,
|
||||
})
|
||||
views := suite.mgr.GetByFilter(WithReplica2LeaderView(replica))
|
||||
suite.Len(views, 2)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user