未验证 提交 14a4e408 编写于 作者: D dragondriver 提交者: GitHub

Optimize namespace using of choas script (#13372)

Signed-off-by: Ndragondriver <jiquan.long@zilliz.com>
上级 568e5157
......@@ -48,8 +48,8 @@ then
fi
# wait all pod ready
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
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=${release} -n ${ns} --timeout=360s
kubectl wait --for=condition=Ready pod -l release=${release} -n ${ns} --timeout=360s
popd
......@@ -87,8 +87,8 @@ then
fi
sleep 30
echo "start running e2e test"
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
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=${release} -n ${ns} --timeout=360s
kubectl wait --for=condition=Ready pod -l release=${release} -n ${ns} --timeout=360s
pytest -s -v ../testcases/test_e2e.py --host "$host" --log-cli-level=INFO --capture=no || echo "e2e test fail"
python scripts/hello_milvus.py --host "$host" || echo "e2e test fail"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册