Add tags for testcases related to search

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/4973/head^2
cai.zhang 2021-03-24 20:15:32 +08:00 committed by yefu.chen
parent ca3187d173
commit 2842e929ba
1 changed files with 2 additions and 3 deletions

View File

@ -1820,7 +1820,7 @@ class TestSearchInvalid(object):
# #1464 # #1464
@pytest.mark.level(2) @pytest.mark.level(2)
@pytest.mark.tags("fail") @pytest.mark.tags(CaseLabel.tags_0331, CaseLabel.tags_l1, CaseLabel.tags_smoke)
def test_search_with_empty_params(self, connect, collection, args, get_simple_index): def test_search_with_empty_params(self, connect, collection, args, get_simple_index):
''' '''
target: test search function, with empty search params target: test search function, with empty search params
@ -1840,8 +1840,7 @@ class TestSearchInvalid(object):
with pytest.raises(Exception) as e: with pytest.raises(Exception) as e:
res = connect.search(collection, query) res = connect.search(collection, query)
# #1439 @pytest.mark.tags(CaseLabel.tags_0331, CaseLabel.tags_l1, CaseLabel.tags_smoke)
@pytest.mark.tags("fail")
def test_search_with_empty_vectors(self, connect, collection): def test_search_with_empty_vectors(self, connect, collection):
""" """
target: test search function, with empty search vectors target: test search function, with empty search vectors