diff --git a/hadoop-ozone/dev-support/checks/_post_process.sh b/hadoop-ozone/dev-support/checks/_post_process.sh index 555a281445a6..ac05e2c00043 100644 --- a/hadoop-ozone/dev-support/checks/_post_process.sh +++ b/hadoop-ozone/dev-support/checks/_post_process.sh @@ -43,7 +43,7 @@ if [[ ! -s "${REPORT_DIR}/failures" ]]; then fi # exit with failure if report is not empty -if [[ -s "${REPORT_FILE}" ]]; then +if [[ -s "${REPORT_FILE}" ]] && [[ ${ITERATIONS:-1} -eq 1 ]]; then rc=1 fi