[skip ci]Fix kubectl wait for chaos test (#12305)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/12311/head
zhuwenxing 2021-11-26 17:23:16 +08:00 committed by GitHub
parent dbcb153687
commit 0ed12dab14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ then
fi
sleep 30s
echo "start running e2e test"
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=milvus-chaos -n chaos-testing --timeout=360s
kubectl wait --for=condition=Ready pod -l release=milvus-chaos -n chaos-testing --timeout=360s
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=${release} -n chaos-testing --timeout=360s
kubectl wait --for=condition=Ready pod -l release=${release} -n chaos-testing --timeout=360s
python scripts/hello_milvus.py --host "$host" || echo "e2e test fail"