Merge branch '4243-_wait_for_stats-errors-not-detected-in-ixfr-system-test-bind-9.18' into 'bind-9.18'

[9.18] Resolve "_wait_for_stats errors not detected in ixfr system test"

See merge request isc-projects/bind9!8176
This commit is contained in:
Mark Andrews 2023-08-07 09:47:39 +00:00
commit edad2eb2b9

View file

@ -407,13 +407,13 @@ _wait_for_stats () {
n=$((n+1))
echo_i "checking whether named calculates incoming IXFR statistics correctly ($n)"
ret=0
retry_quiet 10 _wait_for_stats 10.53.0.3 "Transfer completed" stats.incoming
retry_quiet 10 _wait_for_stats 10.53.0.3 "Transfer completed" stats.incoming || ret=1
if [ $ret != 0 ]; then echo_i "failed"; fi
status=$((status+ret))
n=$((n+1))
echo_i "checking whether named calculates outgoing IXFR statistics correctly ($n)"
retry_quiet 10 _wait_for_stats 10.53.0.4 "IXFR ended" stats.outgoing
retry_quiet 10 _wait_for_stats 10.53.0.4 "IXFR ended" stats.outgoing || ret=1
if [ $ret != 0 ]; then echo_i "failed"; fi
status=$((status+ret))