From 2c5e911d86f0c4ed10051bdb311ccbfb2e79eb5e Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Wed, 22 Dec 2021 20:31:20 +0800 Subject: [PATCH] [skip e2e]Update script to run all chaos test (#14004) Signed-off-by: zhuwenxing --- tests/python_client/chaos/run.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/python_client/chaos/run.sh b/tests/python_client/chaos/run.sh index 294b824197..e7fa749984 100644 --- a/tests/python_client/chaos/run.sh +++ b/tests/python_client/chaos/run.sh @@ -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 \ No newline at end of file