]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
wait for each staged to complete
authorMark Andrews <marka@isc.org>
Thu, 19 Aug 2021 06:43:56 +0000 (16:43 +1000)
committerMark Andrews <marka@isc.org>
Thu, 19 Aug 2021 07:30:56 +0000 (07:30 +0000)
bin/tests/system/rndc/tests.sh

index d25aec63a314d234a9e82bb2bbe6c3792b2aea0b..5d260e24ac69efc2426bf9144b72f804bd51462d 100644 (file)
@@ -776,12 +776,18 @@ echo_i "edit zone files"
 cp ns7/test.db.in ns7/test.db
 cp ns7/include2.db.in ns7/include.db
 
+nextpart ns7/named.run > /dev/null
+
 echo_i "rndc thaw"
 $RNDCCMD 10.53.0.7 thaw | sed 's/^/ns7 /' | cat_i
 
+wait_for_log 3 "zone_postload: zone test/IN/internal: done" ns7/named.run
+
 echo_i "rndc reload"
 $RNDCCMD 10.53.0.7 reload | sed 's/^/ns7 /' | cat_i
 
+wait_for_log 3 "all zones loaded" ns7/named.run
+
 n=$((n+1))
 echo_i "checking zone file edits are loaded ($n)"
 ret=0