diff --git a/tests/python_client/base/client_base.py b/tests/python_client/base/client_base.py index f7e5c4d222e9c..56c4e56ce88ff 100644 --- a/tests/python_client/base/client_base.py +++ b/tests/python_client/base/client_base.py @@ -146,6 +146,7 @@ def _connect(self, enable_milvus_client_api=False): uri = cf.param_info.param_uri else: uri = "http://" + cf.param_info.param_host + ":" + str(cf.param_info.param_port) + self.connection_wrap.connect(alias=DefaultConfig.DEFAULT_USING,uri=uri,token=cf.param_info.param_token) res, is_succ = self.connection_wrap.MilvusClient(uri=uri, token=cf.param_info.param_token) else: