From 59e1b0b5b7736fd2b978d008abe8c0c8cda91741 Mon Sep 17 00:00:00 2001 From: jac Date: Wed, 26 Nov 2025 15:47:09 +0800 Subject: [PATCH] test: update pymilvus to 2.6.4rc13 for milvus2.6 (#45836) Signed-off-by: silas.jiang Co-authored-by: silas.jiang --- tests/python_client/requirements.txt | 4 ++-- .../testcases/async_milvus_client/test_collection_async.py | 6 ------ .../testcases/async_milvus_client/test_e2e_async.py | 3 --- .../testcases/async_milvus_client/test_index_async.py | 6 ------ .../testcases/async_milvus_client/test_partition_async.py | 6 ------ 5 files changed, 2 insertions(+), 23 deletions(-) diff --git a/tests/python_client/requirements.txt b/tests/python_client/requirements.txt index 250ed5e2c7..6de7039857 100644 --- a/tests/python_client/requirements.txt +++ b/tests/python_client/requirements.txt @@ -28,8 +28,8 @@ pytest-parallel pytest-random-order # pymilvus -pymilvus==2.6.4rc12 -pymilvus[bulk_writer]==2.6.4rc12 +pymilvus==2.6.4rc13 +pymilvus[bulk_writer]==2.6.4rc13 # for protobuf protobuf>=5.29.5 diff --git a/tests/python_client/testcases/async_milvus_client/test_collection_async.py b/tests/python_client/testcases/async_milvus_client/test_collection_async.py index 4143f6970a..6fafdd6e9c 100644 --- a/tests/python_client/testcases/async_milvus_client/test_collection_async.py +++ b/tests/python_client/testcases/async_milvus_client/test_collection_async.py @@ -31,9 +31,6 @@ class TestAsyncMilvusClientCollectionInvalid(TestMilvusClientV2Base): """ Test case of collection interface """ def teardown_method(self, method): - self.init_async_milvus_client() - loop = asyncio.get_event_loop() - loop.run_until_complete(self.async_milvus_client_wrap.close()) super().teardown_method(method) """ @@ -128,9 +125,6 @@ class TestAsyncMilvusClientCollectionValid(TestMilvusClientV2Base): """ Test case of collection interface """ def teardown_method(self, method): - self.init_async_milvus_client() - loop = asyncio.get_event_loop() - loop.run_until_complete(self.async_milvus_client_wrap.close()) super().teardown_method(method) """ diff --git a/tests/python_client/testcases/async_milvus_client/test_e2e_async.py b/tests/python_client/testcases/async_milvus_client/test_e2e_async.py index 1ca8e2f44e..a6266236eb 100644 --- a/tests/python_client/testcases/async_milvus_client/test_e2e_async.py +++ b/tests/python_client/testcases/async_milvus_client/test_e2e_async.py @@ -21,9 +21,6 @@ default_vector_name = "vector" class TestAsyncMilvusClient(TestMilvusClientV2Base): def teardown_method(self, method): - self.init_async_milvus_client() - loop = asyncio.get_event_loop() - loop.run_until_complete(self.async_milvus_client_wrap.close()) super().teardown_method(method) @pytest.mark.tags(CaseLabel.L0) diff --git a/tests/python_client/testcases/async_milvus_client/test_index_async.py b/tests/python_client/testcases/async_milvus_client/test_index_async.py index a0e6d610cb..5ceaaf2c15 100644 --- a/tests/python_client/testcases/async_milvus_client/test_index_async.py +++ b/tests/python_client/testcases/async_milvus_client/test_index_async.py @@ -31,9 +31,6 @@ class TestAsyncMilvusClientIndexInvalid(TestMilvusClientV2Base): """ Test case of index interface """ def teardown_method(self, method): - self.init_async_milvus_client() - loop = asyncio.get_event_loop() - loop.run_until_complete(self.async_milvus_client_wrap.close()) super().teardown_method(method) """ @@ -250,9 +247,6 @@ class TestAsyncMilvusClientIndexValid(TestMilvusClientV2Base): """ Test case of index interface """ def teardown_method(self, method): - self.init_async_milvus_client() - loop = asyncio.get_event_loop() - loop.run_until_complete(self.async_milvus_client_wrap.close()) super().teardown_method(method) @pytest.fixture(scope="function", params=["COSINE", "L2", "IP"]) diff --git a/tests/python_client/testcases/async_milvus_client/test_partition_async.py b/tests/python_client/testcases/async_milvus_client/test_partition_async.py index 7dbba506c3..1725e733dc 100644 --- a/tests/python_client/testcases/async_milvus_client/test_partition_async.py +++ b/tests/python_client/testcases/async_milvus_client/test_partition_async.py @@ -31,9 +31,6 @@ class TestAsyncMilvusClientPartitionInvalid(TestMilvusClientV2Base): """ Test case of partition interface """ def teardown_method(self, method): - self.init_async_milvus_client() - loop = asyncio.get_event_loop() - loop.run_until_complete(self.async_milvus_client_wrap.close()) super().teardown_method(method) """ @@ -582,9 +579,6 @@ class TestAsyncMilvusClientPartitionValid(TestMilvusClientV2Base): """ Test case of partition interface """ def teardown_method(self, method): - self.init_async_milvus_client() - loop = asyncio.get_event_loop() - loop.run_until_complete(self.async_milvus_client_wrap.close()) super().teardown_method(method) """