mirror of https://github.com/milvus-io/milvus.git
test: add timeout for GetMetrics grpc interface (#33024)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/33035/head
parent
4ae7cabb04
commit
3871009cf5
|
@ -17,7 +17,7 @@ class MilvusSys:
|
|||
|
||||
# TODO: for now it only supports non_orm style API for getMetricsRequest
|
||||
req = milvus_types.GetMetricsRequest(request=sys_info_req)
|
||||
self.sys_info = self.handler._stub.GetMetrics(req, wait_for_ready=True, timeout=None)
|
||||
self.sys_info = self.handler._stub.GetMetrics(req, wait_for_ready=True, timeout=60)
|
||||
log.debug(f"sys_info: {self.sys_info}")
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in New Issue