]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pause to let reloading complete
authorEvan Hunt <each@isc.org>
Mon, 19 Aug 2024 22:59:28 +0000 (15:59 -0700)
committerOndřej Surý <ondrej@isc.org>
Tue, 20 Aug 2024 12:50:39 +0000 (12:50 +0000)
the rpz test frequently failed in DNSRPS mode and sometimes in native
mode as well because of an 'rndc reload' not being complete.

bin/tests/system/rpz/tests.sh

index df7b7987723487857329a3df958cfc45f63b9432..474c778793424f233df504b0d0f8fcaac720536f 100644 (file)
@@ -599,6 +599,8 @@ nochange a7-1.tld2 # 19 PASSTHRU
 sleep 1
 cp ns2/blv3.tld2.db.in ns2/bl.tld2.db
 rndc_reload ns2 $ns2 bl.tld2
+# sleep again to let the reload finish
+sleep 1
 add_librpz_rule "update zone bl.tld2 1 inc"
 ck_soa 3 bl.tld2 $ns3
 produce_librpz_rules ns2 bl.tld2 bl.tld2