From 2842e929ba21fa8963a99f5088f8be4be73fedf8 Mon Sep 17 00:00:00 2001
From: "cai.zhang" <cai.zhang@zilliz.com>
Date: Wed, 24 Mar 2021 20:15:32 +0800
Subject: [PATCH] Add tags for testcases related to search

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
---
 tests/python_test/entity/test_search.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/python_test/entity/test_search.py b/tests/python_test/entity/test_search.py
index b8f397e93..928caece0 100644
--- a/tests/python_test/entity/test_search.py
+++ b/tests/python_test/entity/test_search.py
@@ -1820,7 +1820,7 @@ class TestSearchInvalid(object):
 
     # #1464
     @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):
         '''
         target: test search function, with empty search params
@@ -1840,8 +1840,7 @@ class TestSearchInvalid(object):
         with pytest.raises(Exception) as e:
             res = connect.search(collection, query)
 
-    # #1439
-    @pytest.mark.tags("fail")
+    @pytest.mark.tags(CaseLabel.tags_0331, CaseLabel.tags_l1, CaseLabel.tags_smoke)
     def test_search_with_empty_vectors(self, connect, collection):
         """
         target: test search function, with empty search vectors
-- 
GitLab