test: update test cases (#41080)

Signed-off-by: nico <cheng.yuan@zilliz.com>
pull/40873/head
nico 2025-04-03 15:54:29 +08:00 committed by GitHub
parent a47bb93c58
commit e4782b95a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -1267,12 +1267,13 @@ class TestCollectionSearchInvalid(TestcaseBase):
collection_w.flush()
collection_w.load()
search_params = {"metric_type": "L2", "params": {"ef": 10}}
res = collection_w.search(vectors, ct.default_float_vec_field_name,
collection_w.search(vectors, ct.default_float_vec_field_name,
search_params, limit=100,
check_task=CheckTasks.err_res,
check_items={"err_code": 65535,
"err_msg": "query failed: N6milvus21ExecOperatorExceptionE :Operator::GetOutput failed"})
"err_msg": "query failed: Operator::GetOutput failed for "
"[Operator:PhyVectorSearchNode"})
@pytest.mark.tags(CaseLabel.L1)
def test_search_dynamic_compare_two_fields(self):
"""