milvus/tests/python_client/chaos/run.sh
zhuwenxing 2c5e911d86
[skip e2e]Update script to run all chaos test (#14004)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2021-12-22 20:31:20 +08:00

18 lines
530 B
Bash

pods=("standalone" "datacoord" "proxy" "pulsar" "querynode" "rootcoord" "etcd")
for pod in ${pods[*]}
do
echo "run pod kill chaos test for pod $pod "
bash chaos_test.sh $pod pod_kill chaos-test
done
worker_pods=("datanode" "indexnode" "proxy" "querynode")
for pod in ${worker_pods[*]}
do
echo "run pod kill chaos test for pod $pod with 2 replicas"
bash chaos_test.sh $worker_pods pod_kill chaos-test 2
echo "run pod failure chaos test for pod $pod with 2 replicas"
bash chaos_test.sh $worker_pods pod_failure chaos-test 2
done