]> 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 12:37:26 +0000 (13:37 +0100)
(cherry picked from commit b0ad689e16845ff9ff1746e18beb7440f1351753)

bin/tests/system/mkeys/tests.sh

index cd28ca8680dc57cdcfc208ed5fd442a089825105..ce6de6a99bd6a3d3903d02a5d8a44f1ec653bfc4 100644 (file)
@@ -570,7 +570,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
@@ -604,7 +604,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.