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:
del-zhenwu 2021-06-26 20:50:12 +08:00 committed by GitHub
parent 5543dba85d
commit e6c21d86ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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