mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
test: update test cases (#31225)
Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
parent
5220005a24
commit
652b866587
@ -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}}
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 """
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user