Skip to content

Commit

Permalink
[fix](ci) adjust failed_suites_threshold for cloud_p* (apache#37968)
Browse files Browse the repository at this point in the history
## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->

Co-authored-by: stephen <[email protected]>
  • Loading branch information
hello-stephen and stephen authored Jul 17, 2024
1 parent e8da5d2 commit 86575e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regression-test/pipeline/cloud_p0/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ run() {
test_suites=$(echo "${summary}" | cut -d ' ' -f 2)
failed_suites=$(echo "${summary}" | cut -d ' ' -f 5)
fatal_scripts=$(echo "${summary}" | cut -d ' ' -f 8)
if [[ ${test_suites} -gt 0 && ${failed_suites} -le 30 && ${fatal_scripts} -eq 0 ]]; then
echo "INFO: regression test result meet (test_suites>0 && failed_suites<=30 && fatal_scripts=0)"
if [[ ${test_suites} -gt 0 && ${failed_suites} -le ${failed_suites_threshold:=100} && ${fatal_scripts} -eq 0 ]]; then
echo "INFO: regression test result meet (test_suites>0 && failed_suites<=${failed_suites_threshold} && fatal_scripts=0)"
else
return 1
fi
Expand Down

0 comments on commit 86575e2

Please sign in to comment.