]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Wait for 'all zones loaded' message instead of zoneless 'loaded serial' message
authorOndřej Surý <ondrej@isc.org>
Thu, 5 Dec 2019 13:11:21 +0000 (14:11 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 9 Jan 2020 11:28:39 +0000 (12:28 +0100)
(cherry picked from commit b0ad689e16845ff9ff1746e18beb7440f1351753)

bin/tests/system/mkeys/tests.sh

index ddf5e55c863eb6515040443e68fe0b55f2802dfc..e33fab0504fb57f65a5178d242be61300fe3fff4 100644 (file)
@@ -591,7 +591,7 @@ rm -f ns1/root.db.signed.jnl
 cp ns1/root.db ns1/root.db.signed
 nextpart ns1/named.run > /dev/null
 $PERL $SYSTEMTESTTOP/start.pl --noclean --restart --port "${PORT}" mkeys ns1
-wait_for_log "loaded serial" ns1/named.run || ret=1
+wait_for_log "all zones loaded" ns1/named.run || ret=1
 mkeys_refresh_on 2 || ret=1
 mkeys_status_on 2 > rndc.out.2.$n 2>&1 || ret=1
 # one key listed
@@ -625,7 +625,7 @@ rm -f ns1/root.db.signed.jnl
 cat ns1/K*.key >> ns1/root.db.signed
 nextpart ns1/named.run > /dev/null
 $PERL $SYSTEMTESTTOP/start.pl --noclean --restart --port "${PORT}" mkeys ns1
-wait_for_log "loaded serial" ns1/named.run || ret=1
+wait_for_log "all zones loaded" ns1/named.run || ret=1
 # Less than a second may have passed since the last time ns2 received a
 # ./DNSKEY response from ns1.  Ensure keys are refreshed at a different
 # timestamp to prevent minimal update from resetting it to the same timestamp.