未验证 提交 e6c21d86 编写于 作者: D del-zhenwu 提交者: GitHub

enable the fixed query cases (#6126)

* enable the fixed query cases
Signed-off-by: Ndel-zhenwu <zhenxiang.li@zilliz.com>

* enable the fixed query cases
Signed-off-by: Ndel-zhenwu <zhenxiang.li@zilliz.com>

* update index cases
Signed-off-by: Ndel-zhenwu <zhenxiang.li@zilliz.com>

* Merge from master
Signed-off-by: Nzhenwu <zhenxiang.li@zilliz.com>
上级 5543dba8
......@@ -140,7 +140,6 @@ class TestQueryBase:
with pytest.raises(Exception):
connect.query(collection_name, default_term_expr)
@pytest.mark.xfail(reason="#6035")
def test_query_after_index(self, connect, collection, get_simple_index):
"""
target: test query after creating index
......@@ -185,7 +184,6 @@ class TestQueryBase:
# not support
# ut.assert_equal_vector(res[index][ut.default_float_vec_field_name], entities[2]["values"][index])
@pytest.mark.xfail(reason="#6053")
def test_query_empty_collection(self, connect, collection):
"""
target: test query empty collection
......
......@@ -91,8 +91,9 @@ class TestIndexParams(TestcaseBase):
self.index_wrap.init_index(collection_w.collection, f_name, default_index_params, check_task=CheckTasks.err_res,
check_items={"err_code": 1, "err_msg": "CreateIndex failed"})
# TODO: update eror msg
@pytest.mark.tags(CaseLabel.L1)
def test_index_type_invalid(self, get_invalid_index_type):
def _test_index_type_invalid(self, get_invalid_index_type):
"""
target: test index with error index type
method: input invalid index type
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册