mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Refine wait_pods_ready function (#14544)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/14542/merge
parent
28b0189de8
commit
639137a45d
|
@ -36,6 +36,9 @@ def wait_pods_ready(namespace, label_selector, expected_num=None, timeout=360):
|
|||
all_pos_ready_flag = False
|
||||
else:
|
||||
for item in api_response.items:
|
||||
if item.status.phase != 'Running':
|
||||
all_pos_ready_flag = False
|
||||
break
|
||||
for c in item.status.container_statuses:
|
||||
log.info(f"{c.name} status is {c.ready}")
|
||||
if c.ready is False:
|
||||
|
|
Loading…
Reference in New Issue