未验证 提交 c700974e 编写于 作者: C cai.zhang 提交者: GitHub

Fix mock bug (#21694)

Signed-off-by: Ncai.zhang <cai.zhang@zilliz.com>
上级 1ac30c7b
......@@ -241,7 +241,7 @@ func (suite *ServerSuite) TestEnableActiveStandby() {
),
CollectionID: collection,
}
mockRootCoord.EXPECT().ShowPartitions(mock.Anything, req).Return(&milvuspb.ShowPartitionsResponse{
mockRootCoord.EXPECT().ShowPartitionsInternal(mock.Anything, req).Return(&milvuspb.ShowPartitionsResponse{
Status: successStatus,
PartitionIDs: suite.partitions[collection],
}, nil).Maybe()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册