mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
test: update pymilvus version (#35143)
pr: #34843 Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
parent
824b26c209
commit
9bebca472b
@ -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.4.4rc11
|
||||
pymilvus[bulk_writer]==2.4.4rc11
|
||||
pymilvus==2.4.5rc11
|
||||
pymilvus[bulk_writer]==2.4.5rc11
|
||||
pytest-rerunfailures==9.1.1
|
||||
git+https://github.com/Projectplace/pytest-tags
|
||||
ndg-httpsclient
|
||||
|
||||
@ -2832,8 +2832,8 @@ class TestLoadCollection(TestcaseBase):
|
||||
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
|
||||
|
||||
@ -731,7 +731,7 @@ class TestUtilityBase(TestcaseBase):
|
||||
cw = self.init_collection_wrap(name=c_name)
|
||||
self.index_wrap.init_index(cw.collection, default_field_name, default_index_params)
|
||||
res, _ = self.utility_wrap.index_building_progress(c_name)
|
||||
exp_res = {'total_rows': 0, 'indexed_rows': 0, 'pending_index_rows': 0}
|
||||
exp_res = {'total_rows': 0, 'indexed_rows': 0, 'pending_index_rows': 0, 'state': 'Finished'}
|
||||
assert res == exp_res
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
@ -822,7 +822,7 @@ class TestUtilityBase(TestcaseBase):
|
||||
cw.create_index(default_field_name, default_index_params)
|
||||
assert self.utility_wrap.wait_for_index_building_complete(c_name)[0]
|
||||
res, _ = self.utility_wrap.index_building_progress(c_name)
|
||||
exp_res = {'total_rows': 0, 'indexed_rows': 0, 'pending_index_rows': 0}
|
||||
exp_res = {'total_rows': 0, 'indexed_rows': 0, 'pending_index_rows': 0, 'state': 'Finished'}
|
||||
assert res == exp_res
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user