[skip e2e]Update script to run all chaos test (#14004)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
zhuwenxing 2021-12-22 20:31:20 +08:00 committed by GitHub
parent 8eb4d9a2b4
commit 2c5e911d86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,5 +4,15 @@ 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
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