diff --git a/tests/python_client/common/milvus_sys.py b/tests/python_client/common/milvus_sys.py index 4f8ba87c7b..fc4f8fa1bf 100644 --- a/tests/python_client/common/milvus_sys.py +++ b/tests/python_client/common/milvus_sys.py @@ -15,6 +15,7 @@ class MilvusSys: if self.client is None: raise Exception(f"Connection {alias} is disconnected or nonexistent") + # TODO: for now it only support non_orm style API for getMetricsRequest with self.client._connection() as handler: req = milvus_types.GetMetricsRequest(request=sys_info_req) self.sys_info = handler._stub.GetMetrics(req, wait_for_ready=True, timeout=None)