On Fri, 2024-02-09 at 11:15 -0800, Jakub Kicinski wrote:
On Wed, 7 Feb 2024 19:36:46 +0100 Paolo Abeni wrote:
- if [[ ${test} == "large" && -n "${KSFT_MACHINE_SLOW}" ]]; then
echo "Ignoring errors due to slow environment" 1>&2
exit_code=0
- fi
Would it make sense to also add "&& $exit_code -ne 0" ? It may be useful to see in logs how many times we actually ignored the error?
Yep, I'll send a v3.
Thanks!
Paolo