From: Mark Andrews Date: Tue, 19 Sep 2023 04:06:15 +0000 (+1000) Subject: Wait for the test zone to finish re-loading X-Git-Tag: v9.19.18~65^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b3238aa85ab6e1e1044ae337854e4c00664c359;p=thirdparty%2Fbind9.git Wait for the test zone to finish re-loading 'rndc thaw' initiates asynchrous loading of all the zones similar to 'rndc load'. Wait for the test zone's load to complete before testing that it is updatable again. --- diff --git a/bin/tests/system/rndc/tests.sh b/bin/tests/system/rndc/tests.sh index e8abb08e7b4..8d6672c1b7e 100644 --- a/bin/tests/system/rndc/tests.sh +++ b/bin/tests/system/rndc/tests.sh @@ -86,6 +86,8 @@ status=$((status+ret)) echo_i "rndc thaw" $RNDCCMD 10.53.0.2 thaw | sed 's/^/ns2 /' | cat_i +wait_for_log 3 "zone_postload: zone nil/IN: done" ns2/named.run + n=$((n+1)) echo_i "checking zone now writable ($n)" ret=0