diff --git a/tests/tiup-cluster/script/detect_error.sh b/tests/tiup-cluster/script/detect_error.sh index b22c02397c..2fc9b82c3e 100755 --- a/tests/tiup-cluster/script/detect_error.sh +++ b/tests/tiup-cluster/script/detect_error.sh @@ -4,13 +4,11 @@ set -eu err_num=$(find $1 -name "*.log" -exec grep "\[ERROR\]" {} \; | wc -l) if [ ${err_num} != "0" ]; then echo "detect ${err_num} [ERROR] log" - exit 1 fi err_num=$(find $1 -name "*stderr.log" -exec cat {} \; | wc -l) if [ ${err_num} != "0" ]; then echo "detect ${err_num} stderr log" - exit 1 fi echo "no error log found"