diff --git a/tests/python_test/entity/test_query.py b/tests/python_test/entity/test_query.py index c82acfec99..21e820769e 100644 --- a/tests/python_test/entity/test_query.py +++ b/tests/python_test/entity/test_query.py @@ -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 diff --git a/tests20/python_client/testcases/test_index.py b/tests20/python_client/testcases/test_index.py index c60eca5cc0..0da1ab683c 100644 --- a/tests20/python_client/testcases/test_index.py +++ b/tests20/python_client/testcases/test_index.py @@ -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