mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e]Fix connection (#18024)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
6954a5ba3e
commit
5a8da0e921
@ -70,9 +70,7 @@ def get_chaos_yamls():
|
||||
|
||||
def reconnect(connections, alias='default'):
|
||||
"""trying to connect by connection alias"""
|
||||
res = connections.get_connection_addr(alias)
|
||||
connections.remove_connection(alias)
|
||||
return connections.connect(alias, host=res["host"], port=res["port"])
|
||||
return connections.connect(alias)
|
||||
|
||||
|
||||
def assert_statistic(checkers, expectations={}):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user