From 2afebd532a4f38905c72de040a27125a0b62b4e7 Mon Sep 17 00:00:00 2001 From: binbin <83755740+binbinlv@users.noreply.github.com> Date: Thu, 8 Dec 2022 09:47:32 +0800 Subject: [PATCH] Enable test case after code fix for 2.2 (#20984) Signed-off-by: Binbin Lv Signed-off-by: Binbin Lv --- tests/python_client/testcases/test_search.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/python_client/testcases/test_search.py b/tests/python_client/testcases/test_search.py index 19d28ac3e8..6ab160ab95 100644 --- a/tests/python_client/testcases/test_search.py +++ b/tests/python_client/testcases/test_search.py @@ -759,7 +759,6 @@ class TestCollectionSearchInvalid(TestcaseBase): "err_msg": "unsupported"}) @pytest.mark.tags(CaseLabel.L2) - @pytest.mark.xfail(reason="issue 15407") def test_search_binary_flat_with_L2(self): """ target: search binary collection using FlAT with L2 @@ -775,7 +774,7 @@ class TestCollectionSearchInvalid(TestcaseBase): search_params, default_limit, "int64 >= 0", check_task=CheckTasks.err_res, check_items={"err_code": 1, - "err_msg": "Search failed"}) + "err_msg": "Data type and metric type mis-match"}) @pytest.mark.tags(CaseLabel.L2) def test_search_with_output_fields_not_exist(self): @@ -4518,4 +4517,4 @@ class TestsearchDiskann(TestcaseBase): "ids": ids, "limit": limit, "_async": _async} - ) \ No newline at end of file + )