mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
test: update pymilvus to 2.6.4rc13 for milvus2.6 (#45836)
Signed-off-by: silas.jiang <silas.jiang@zilliz.com> Co-authored-by: silas.jiang <silas.jiang@zilliz.com>
This commit is contained in:
parent
ce302c1555
commit
59e1b0b5b7
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
"""
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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"])
|
||||
|
||||
@ -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)
|
||||
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user