mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
[test]Modify the testcase with collection (#16184)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>
This commit is contained in:
parent
0524802648
commit
ed9d3c32ff
@ -9,7 +9,7 @@ allure-pytest==2.7.0
|
||||
pytest-print==0.2.1
|
||||
pytest-level==0.1.1
|
||||
pytest-xdist==2.2.1
|
||||
pymilvus==2.0.2.dev5
|
||||
pymilvus==2.0.2.dev10
|
||||
pytest-rerunfailures==9.1.1
|
||||
git+https://github.com/Projectplace/pytest-tags
|
||||
ndg-httpsclient
|
||||
|
@ -87,7 +87,6 @@ class TestCollectionParams(TestcaseBase):
|
||||
assert c_name in self.utility_wrap.list_collections()[0]
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
@pytest.mark.xfail(reason="exception not Milvus Exception")
|
||||
def test_collection_empty_name(self):
|
||||
"""
|
||||
target: test collection with empty name
|
||||
@ -101,7 +100,6 @@ class TestCollectionParams(TestcaseBase):
|
||||
check_items=error)
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
@pytest.mark.xfail(reason="exception not Milvus Exception")
|
||||
@pytest.mark.parametrize("name", [[], 1, [1, "2", 3], (1,), {1: 1}, None])
|
||||
def test_collection_illegal_name(self, name):
|
||||
"""
|
||||
@ -344,7 +342,6 @@ class TestCollectionParams(TestcaseBase):
|
||||
self.collection_wrap.init_collection(c_name, schema=schema, check_task=CheckTasks.err_res, check_items=error)
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
@pytest.mark.xfail(reason="exception not Milvus Exception")
|
||||
def test_collection_none_field_name(self):
|
||||
"""
|
||||
target: test field schema with None name
|
||||
@ -372,7 +369,6 @@ class TestCollectionParams(TestcaseBase):
|
||||
check_task=CheckTasks.err_res, check_items=error)
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
@pytest.mark.xfail(reason="exception not Milvus Exception")
|
||||
def test_collection_field_dtype_float_value(self):
|
||||
"""
|
||||
target: test collection with float type
|
||||
@ -851,7 +847,6 @@ class TestCollectionParams(TestcaseBase):
|
||||
check_items={exp_name: c_name, exp_schema: schema})
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
@pytest.mark.xfail(reason="exception not Milvus Exception")
|
||||
def test_collection_none_desc(self):
|
||||
"""
|
||||
target: test collection with none description
|
||||
|
Loading…
Reference in New Issue
Block a user