From c299bdec1bd40a5bf89840305f527ffb54dc9e84 Mon Sep 17 00:00:00 2001 From: nico <109071306+NicoYuan1986@users.noreply.github.com> Date: Wed, 27 Mar 2024 11:13:09 +0800 Subject: [PATCH] enhance: update pymilvus version (#31529) Signed-off-by: nico --- tests/python_client/requirements.txt | 2 +- tests/python_client/testcases/test_connection.py | 2 +- tests/python_client/testcases/test_search.py | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/python_client/requirements.txt b/tests/python_client/requirements.txt index 0b84ad5741..4001b4fdc7 100644 --- a/tests/python_client/requirements.txt +++ b/tests/python_client/requirements.txt @@ -12,7 +12,7 @@ allure-pytest==2.7.0 pytest-print==0.2.1 pytest-level==0.1.1 pytest-xdist==2.5.0 -pymilvus==2.4.0rc53 +pymilvus==2.5.0rc3 pytest-rerunfailures==9.1.1 git+https://github.com/Projectplace/pytest-tags ndg-httpsclient diff --git a/tests/python_client/testcases/test_connection.py b/tests/python_client/testcases/test_connection.py index 402487d84c..7e8a5c196e 100644 --- a/tests/python_client/testcases/test_connection.py +++ b/tests/python_client/testcases/test_connection.py @@ -791,7 +791,7 @@ class TestConnectionOperation(TestcaseBase): # drop collection failed self.collection_wrap.drop(check_task=ct.CheckTasks.err_res, - check_items={ct.err_code: 0, ct.err_msg: "should create connect first"}) + check_items={ct.err_code: 1, ct.err_msg: "should create connect first"}) # successfully created default connection self.connection_wrap.connect(alias=DefaultConfig.DEFAULT_USING, host=host, port=port, diff --git a/tests/python_client/testcases/test_search.py b/tests/python_client/testcases/test_search.py index 8f659a1830..cd51e6655b 100644 --- a/tests/python_client/testcases/test_search.py +++ b/tests/python_client/testcases/test_search.py @@ -3321,7 +3321,7 @@ class TestCollectionSearch(TestcaseBase): assert set(ids).issubset(filter_ids_set) @pytest.mark.tags(CaseLabel.L2) - def test_search_expression_all_data_type(self, nb, nq, dim, auto_id, _async, enable_dynamic_field): + def test_search_expression_all_data_type(self, nb, nq, dim, auto_id, _async): """ target: test search using all supported data types method: search using different supported data types @@ -3329,8 +3329,7 @@ class TestCollectionSearch(TestcaseBase): """ # 1. initialize with data collection_w, _, _, insert_ids = self.init_collection_general(prefix, True, nb, is_all_data_type=True, - auto_id=auto_id, dim=dim, - enable_dynamic_field=enable_dynamic_field)[0:4] + auto_id=auto_id, dim=dim)[0:4] # 2. search log.info("test_search_expression_all_data_type: Searching collection %s" % collection_w.name)