Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.9.0
Description
common_ha.sh#verify_logs:
if ! check_logs_for_non_empty_out_files; then echo "FAILURE: Alerts found at the general purpose job." EXIT_CODE=1 fi
Since check_logs_for_non_empty_out_files does only set EXIT_CODE without modifying the return value the check will never fail.
While the test will still fail (since EXIT_CODE is later being evaluated), we may not actually print the error cause.