test: add timeout for GetMetrics grpc interface (#33024)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/33035/head
zhuwenxing 2024-05-14 10:29:32 +08:00 committed by GitHub
parent 4ae7cabb04
commit 3871009cf5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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