diff --git a/internal/proxy/task_test.go b/internal/proxy/task_test.go index cdc230ec18..12bbbf7b25 100644 --- a/internal/proxy/task_test.go +++ b/internal/proxy/task_test.go @@ -2836,7 +2836,7 @@ func TestSearchTask_PreExecute(t *testing.T) { assert.Error(t, task.PreExecute(ctx)) task.query.PartitionNames = nil - // mock show collections of query coord + // mock show collections of QueryCoord qc.SetShowCollectionsFunc(func(ctx context.Context, request *querypb.ShowCollectionsRequest) (*querypb.ShowCollectionsResponse, error) { return nil, errors.New("mock") })