]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Wait for the test zone to finish re-loading
authorMark Andrews <marka@isc.org>
Tue, 19 Sep 2023 04:06:15 +0000 (14:06 +1000)
committerMark Andrews <marka@isc.org>
Tue, 26 Sep 2023 02:43:51 +0000 (02:43 +0000)
'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.

bin/tests/system/rndc/tests.sh

index e8abb08e7b4b68f47ba840cab73f52a6aa8e1544..8d6672c1b7edd756ee895a6d188d2ab9e5e69172 100644 (file)
@@ -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