diff --git a/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-http/k8s/script/e2e-test-h2.sh b/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-http/k8s/script/e2e-test-h2.sh index 9b2e4973ba2bf..d8bf29e5af5f3 100644 --- a/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-http/k8s/script/e2e-test-h2.sh +++ b/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-http/k8s/script/e2e-test-h2.sh @@ -38,7 +38,7 @@ curl -S "http://localhost:31195/actuator/pluginData" admin_status=`curl -X GET "http://localhost:31095/actuator/health" -H "accept: */*"` bootstrap_status=`curl -X GET "http://localhost:31195/actuator/health" -H "accept: */*"` -if [ $admin_status -eq 200 && $bootstrap_status -eq 200 ]; then +if [ $admin_status -eq 200 -a $bootstrap_status -eq 200 ]; then echo -e "Success to send request: $admin_status" echo -e "Success to send request: $bootstrap_status" echo -e "\n-------------------"