enhance: update pymilvus version and test cases (#29882)

Signed-off-by: nico <cheng.yuan@zilliz.com>
pull/29895/head
nico 2024-01-11 19:20:57 +08:00 committed by GitHub
parent 1df3f90696
commit 930735c46c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ allure-pytest==2.7.0
pytest-print==0.2.1
pytest-level==0.1.1
pytest-xdist==2.5.0
pymilvus==2.4.0rc15
pymilvus==2.4.0rc19
pytest-rerunfailures==9.1.1
git+https://github.com/Projectplace/pytest-tags
ndg-httpsclient

View File

@ -292,7 +292,7 @@ class TestCollectionSearchInvalid(TestcaseBase):
collection_w.search(vectors[:default_nq], invalid_search_field, default_search_params,
default_limit, default_search_exp,
check_task=CheckTasks.err_res,
check_items={"err_code": 65535,
check_items={"err_code": 1100,
"err_msg": "failed to create query plan: failed to get field schema "
"by name: %s not found" % invalid_search_field})
@ -528,7 +528,7 @@ class TestCollectionSearchInvalid(TestcaseBase):
collection_w.search(vectors[:default_nq], default_search_field,
default_search_params, default_limit, expression,
check_task=CheckTasks.err_res,
check_items={"err_code": 65535,
check_items={"err_code": 1100,
"err_msg": "failed to create query plan: predicate is not a "
"boolean expression: %s, data type: Bool" % expression})
@ -9350,7 +9350,7 @@ class TestCollectionSearchJSON(TestcaseBase):
collection_w.search(vectors[:default_nq], default_search_field, {},
limit=ct.default_nb, expr=expression,
check_task=CheckTasks.err_res,
check_items={ct.err_code: 65535,
check_items={ct.err_code: 1100,
ct.err_msg: "failed to create query plan: cannot parse "
"expression: %s, error: contains_any operation "
"element must be an array" % expression})