mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
test: update pymilvus version (#28636)
issue: #17614 Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
parent
fc30d291be
commit
8fe2fb3eb9
@ -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.3.2.post1.dev5
|
||||
pymilvus==2.3.3.post1.dev3
|
||||
pytest-rerunfailures==9.1.1
|
||||
git+https://github.com/Projectplace/pytest-tags
|
||||
ndg-httpsclient
|
||||
|
@ -1103,7 +1103,7 @@ class TestCollectionOperation(TestcaseBase):
|
||||
fields = []
|
||||
for k, v in DataType.__members__.items():
|
||||
if v and v != DataType.UNKNOWN and v != DataType.STRING \
|
||||
and v != DataType.VARCHAR and v != DataType.FLOAT_VECTOR and v != DataType.FLOAT16_VECTOR \
|
||||
and v != DataType.VARCHAR and v != DataType.FLOAT_VECTOR \
|
||||
and v != DataType.BINARY_VECTOR and v != DataType.ARRAY:
|
||||
field, _ = self.field_schema_wrap.init_field_schema(name=k.lower(), dtype=v)
|
||||
fields.append(field)
|
||||
@ -3334,10 +3334,9 @@ class TestLoadPartition(TestcaseBase):
|
||||
description=description,
|
||||
check_task=CheckTasks.check_partition_property,
|
||||
check_items={"name": partition_name, "description": description,
|
||||
"is_empty": True, "num_entities": 0}
|
||||
)
|
||||
"is_empty": True, "num_entities": 0})
|
||||
partition_w.drop()
|
||||
error = {ct.err_code: 1, ct.err_msg: 'partitionID of partitionName:%s can not be find' % partition_name}
|
||||
error = {ct.err_code: 200, ct.err_msg: 'partition not found[partition=%s]' % partition_name}
|
||||
partition_w.release(check_task=CheckTasks.err_res, check_items=error)
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L0)
|
||||
|
@ -699,6 +699,7 @@ class TestPartitionOperations(TestcaseBase):
|
||||
check_items={ct.err_code: 1, ct.err_msg: "default partition cannot be deleted"})
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L1)
|
||||
@pytest.mark.skip("issue #28722")
|
||||
def test_partition_drop_partition_twice(self):
|
||||
"""
|
||||
target: verify drop the same partition twice
|
||||
@ -947,7 +948,7 @@ class TestPartitionOperations(TestcaseBase):
|
||||
# insert data to partition
|
||||
partition_w.insert(cf.gen_default_dataframe_data(),
|
||||
check_task=CheckTasks.err_res,
|
||||
check_items={ct.err_code: 1, ct.err_msg: "Partition not exist"})
|
||||
check_items={ct.err_code: 200, ct.err_msg: "partition not found"})
|
||||
# TODO: update the assert error
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L1)
|
||||
@ -1095,7 +1096,7 @@ class TestPartitionOperations(TestcaseBase):
|
||||
# insert data to partition
|
||||
partition_w.upsert(cf.gen_default_dataframe_data(),
|
||||
check_task=CheckTasks.err_res,
|
||||
check_items={ct.err_code: 1, ct.err_msg: "Partition not exist"})
|
||||
check_items={ct.err_code: 200, ct.err_msg: "partition not found"})
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_partition_upsert_mismatched_data(self):
|
||||
|
Loading…
Reference in New Issue
Block a user