Remove label of cases that have been solved (#18912)

Signed-off-by: “nico” <Nico_1986@163.com>

Signed-off-by: “nico” <Nico_1986@163.com>
This commit is contained in:
NicoYuan1986 2022-09-01 17:05:07 +08:00 committed by GitHub
parent da96659569
commit 2570176fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 7 deletions

View File

@ -788,7 +788,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_vector_invalid_dim(self, get_invalid_dim):
"""
target: test collection with invalid dimension

View File

@ -1334,7 +1334,6 @@ class TestCollectionSearch(TestcaseBase):
"_async": _async})
@pytest.mark.tags(CaseLabel.L2)
@pytest.mark.skip(reason="issue #18479")
@pytest.mark.parametrize("index, params",
zip(ct.all_index_types[:9],
ct.default_index_params[:9]))
@ -1351,11 +1350,9 @@ class TestCollectionSearch(TestcaseBase):
dim=min_dim, is_index=True)[0:5]
# 2. create index and load
if params.get("m"):
if (min_dim % params["m"]) != 0:
params["m"] = min_dim // 4
params["m"] = min_dim
if params.get("PQM"):
if (min_dim % params["PQM"]) != 0:
params["PQM"] = min_dim // 4
params["PQM"] = min_dim
default_index = {"index_type": index, "params": params, "metric_type": "L2"}
collection_w.create_index("float_vector", default_index)
collection_w.load()

View File

@ -232,7 +232,6 @@ class TestUtilityParams(TestcaseBase):
self.utility_wrap.loading_progress("not_existed_name", check_task=CheckTasks.err_res, check_items=error)
@pytest.mark.tags(CaseLabel.L2)
@pytest.mark.xfail(reason="pymilvus issue #677")
def test_loading_progress_invalid_partition_names(self, get_invalid_partition_names):
"""
target: test loading progress with invalid partition names