mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Fix verification of chaos delete (#20604)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com> Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/20572/head
parent
f077cfea68
commit
50791bd932
|
@ -99,8 +99,10 @@ class TestChaosApply:
|
|||
res = chaos_res.list_all()
|
||||
chaos_list = [r['metadata']['name'] for r in res['items']]
|
||||
# verify the chaos is deleted
|
||||
sleep(10)
|
||||
res = chaos_res.list_all()
|
||||
chaos_list = [r['metadata']['name'] for r in res['items']]
|
||||
assert meta_name not in chaos_list
|
||||
sleep(2)
|
||||
# wait all pods ready
|
||||
t0 = time.time()
|
||||
log.info(f"wait for pods in namespace {constants.CHAOS_NAMESPACE} with label app.kubernetes.io/instance={meta_name}")
|
||||
|
|
Loading…
Reference in New Issue