age_after_min=$((delta - MIN_WAIT_SUCCESS))
if [ "$age_after_min" -lt "$rnd_cuttoff" ]; then
runme=0
- log "Skipping $host:$port $version/$cluster because random computer says wait ($age_after_min < $rnd_cuttoff (< $DELTA_WAIT_SUCCESS)) + $MIN_WAIT_SUCCESS."
+ log "Skipping $host:$port $version/$cluster because random computer says wait ($(format_timedelta "${age_after_min}") < $(format_timedelta "${rnd_cuttoff}") (< $(format_timedelta "${DELTA_WAIT_SUCCESS}"))) + $(format_timedelta "${MIN_WAIT_SUCCESS}")."
else
runme=1
- log "Planning to run $host:$port $version/$cluster because random computer says so ($age_after_min >= $rnd_cuttoff)."
+ log "Planning to run $host:$port $version/$cluster because random computer says so ($(format_timedelta "${age_after_min}") >= $(format_timedelta "${rnd_cuttoff}"))."
fi
fi
fi