test: update test cases and sdk version (#37774)

Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
nico 2024-11-19 14:14:32 +08:00 committed by GitHub
parent dae4160466
commit 866d512f6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -27,8 +27,8 @@ pytest-parallel
pytest-random-order
# pymilvus
pymilvus==2.5.0rc119
pymilvus[bulk_writer]==2.5.0rc119
pymilvus==2.5.0rc121
pymilvus[bulk_writer]==2.5.0rc121
# for customize config test

View File

@ -397,7 +397,7 @@ class TestPartitionParams(TestcaseBase):
partition_w.load(replica_number=1)
collection_w.query(expr=f"{ct.default_int64_field_name} in [0]", check_task=CheckTasks.check_query_results,
check_items={'exp_res': [{'int64': 0}]})
error = {ct.err_code: 1100, ct.err_msg: "=can't change the replica number for loaded partitions: "
error = {ct.err_code: 1100, ct.err_msg: "can't change the replica number for loaded partitions: "
"invalid parameter[expected=1][actual=2]"}
partition_w.load(replica_number=2, check_task=CheckTasks.err_res, check_items=error)