test: update test cases (#31225)

Signed-off-by: nico <cheng.yuan@zilliz.com>
pull/31236/head
nico 2024-03-13 19:05:11 +08:00 committed by GitHub
parent 5220005a24
commit 652b866587
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 2 additions and 5 deletions

View File

@ -1098,7 +1098,7 @@ def gen_invalid_search_params_type():
for index_type in ct.all_index_types:
if index_type == "FLAT":
continue
search_params.append({"index_type": index_type, "search_params": {"invalid_key": invalid_search_key}})
# search_params.append({"index_type": index_type, "search_params": {"invalid_key": invalid_search_key}})
if index_type in ["IVF_FLAT", "IVF_SQ8", "IVF_PQ"]:
for nprobe in ct.get_invalid_ints:
ivf_search_params = {"index_type": index_type, "search_params": {"nprobe": nprobe}}

View File

@ -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.4.0rc42
pymilvus==2.4.0rc53
pytest-rerunfailures==9.1.1
git+https://github.com/Projectplace/pytest-tags
ndg-httpsclient

View File

@ -130,7 +130,6 @@ class TestHighLevelApi(TestcaseBase):
check_task=CheckTasks.err_res, check_items=error)
@pytest.mark.tags(CaseLabel.L2)
@pytest.mark.skip("https://github.com/milvus-io/milvus/issues/29880")
def test_high_level_search_not_consistent_metric_type(self, metric_type):
"""
target: test search with inconsistent metric type (default is IP) with that of index

View File

@ -340,7 +340,6 @@ class TestCollectionSearchInvalid(TestcaseBase):
"[expected=COSINE][actual=L2]"})
@pytest.mark.tags(CaseLabel.L2)
@pytest.mark.skip("issue #29020")
@pytest.mark.parametrize("index, params",
zip(ct.all_index_types[:7],
ct.default_index_params[:7]))
@ -10391,7 +10390,6 @@ class TestSearchGroupBy(TestcaseBase):
pass
@pytest.mark.skip(reason="debug")
class TestCollectionHybridSearchValid(TestcaseBase):
""" Test case of search interface """