Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: update test cases and sdk version #37774

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: update test cases and sdk version
Signed-off-by: nico <cheng.yuan@zilliz.com>
  • Loading branch information
NicoYuan1986 committed Nov 18, 2024
commit fe849a416c80d76cdeee5595f212abb03ab7d5af
4 changes: 2 additions & 2 deletions tests/python_client/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/python_client/testcases/test_partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def test_load_replica_change(self):
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)

Expand Down