Skip to content

Commit

Permalink
test: update test cases
Browse files Browse the repository at this point in the history
Signed-off-by: nico <[email protected]>
  • Loading branch information
NicoYuan1986 committed Aug 30, 2024
1 parent 311f860 commit 5180a40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/python_client/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ allure-pytest==2.7.0
pytest-print==0.2.1
pytest-level==0.1.1
pytest-xdist==2.5.0
pymilvus==2.5.0rc70
pymilvus[bulk_writer]==2.5.0rc70
pymilvus==2.5.0rc74
pymilvus[bulk_writer]==2.5.0rc74
pytest-rerunfailures==9.1.1
git+https://github.com/Projectplace/pytest-tags
ndg-httpsclient
Expand Down
4 changes: 2 additions & 2 deletions tests/python_client/testcases/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2832,8 +2832,8 @@ def test_load_replica_change(self):
assert loading_progress == {'loading_progress': '100%'}

# verify load different replicas thrown an exception
error = {ct.err_code: 1100, ct.err_msg: "failed to load collection: can't change the replica number for "
"loaded collection: expected=1, actual=2: invalid parameter"}
error = {ct.err_code: 1100, ct.err_msg: "call query coordinator LoadCollection: can't change the replica number"
" for loaded collection: invalid parameter[expected=1][actual=2]"}
collection_w.load(replica_number=2, check_task=CheckTasks.err_res, check_items=error)
one_replica, _ = collection_w.get_replicas()
assert len(one_replica.groups) == 1
Expand Down

0 comments on commit 5180a40

Please sign in to comment.