未验证 提交 2f1bc9a1 编写于 作者: Z zhuwenxing 提交者: GitHub

[skip ci]Fix sleep command (#12406)

Signed-off-by: Nzhuwenxing <wenxing.zhu@zilliz.com>
上级 9ae7e19b
......@@ -85,7 +85,7 @@ if [ "$chaos_task" == "data-consist-test" ];
then
pytest -s -v test_chaos_data_consist.py --host "$host" --log-cli-level=INFO --capture=no || echo "chaos test fail"
fi
sleep 30s
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
......
......@@ -81,7 +81,7 @@ function check_healthy {
while [[ $cnt -ne $Expect || $healthy -ne 1 ]];
do
printf "waiting all containers get running\n"
sleep 5s
sleep 5
let time_cnt+=5
# if time is greater than 300s, the condition still not satisfied, we regard it as a failure
if [ $time_cnt -gt 300 ];
......@@ -167,7 +167,7 @@ pushd ${Deploy_Dir}
# uninstall milvus
printf "start to uninstall milvus\n"
docker-compose down
sleep 10s
sleep 10
printf "check all containers removed\n"
docker-compose ps
......@@ -206,7 +206,7 @@ pushd ${Deploy_Dir}
# clean env
docker-compose ps
docker-compose down
sleep 10s
sleep 10
docker-compose ps
echo "$pw"|sudo -S rm -rf ./volumes
popd
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册