mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
enable the fixed query cases (#6126)
* enable the fixed query cases Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com> * enable the fixed query cases Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com> * update index cases Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com> * Merge from master Signed-off-by: zhenwu <zhenxiang.li@zilliz.com>
This commit is contained in:
parent
5543dba85d
commit
e6c21d86ce
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user