From: Ondřej Surý Date: Thu, 5 Dec 2019 13:11:21 +0000 (+0100) Subject: Wait for 'all zones loaded' message instead of zoneless 'loaded serial' message X-Git-Tag: v9.15.7~36^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ad689e16845ff9ff1746e18beb7440f1351753;p=thirdparty%2Fbind9.git Wait for 'all zones loaded' message instead of zoneless 'loaded serial' message --- diff --git a/bin/tests/system/mkeys/tests.sh b/bin/tests/system/mkeys/tests.sh index d35e1e957fc..cb742264e5e 100644 --- a/bin/tests/system/mkeys/tests.sh +++ b/bin/tests/system/mkeys/tests.sh @@ -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.