未验证 提交 5a8da0e9 编写于 作者: Z zhuwenxing 提交者: GitHub

[skip e2e]Fix connection (#18024)

Signed-off-by: Nzhuwenxing <wenxing.zhu@zilliz.com>
上级 6954a5ba
......@@ -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={}):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册