Merge branch '3852-follow-up-from-9-18-merge-branch-3790-use-configured-udp-port-into-main-v9_18' into 'v9_18'

[9.18] Allow some time to the root trust anchor to appear

See merge request isc-projects/bind9!7498
This commit is contained in:
Mark Andrews 2023-02-07 22:24:05 +00:00
commit 34009f3d78

View file

@ -679,8 +679,12 @@ rndccmd 10.53.0.2 managed-keys destroy | sed 's/^/ns2 /' | cat_i
mkeys_status_on 2 > rndc.out.1.$n 2>&1 || ret=1
grep "no views with managed keys" rndc.out.1.$n > /dev/null || ret=1
mkeys_reconfig_on 2 || ret=1
mkeys_status_on 2 > rndc.out.2.$n 2>&1 || ret=1
grep "name: \." rndc.out.2.$n > /dev/null || ret=1
check_root_trust_anchor_is_present_in_status() {
mkeys_status_on 2 > rndc.out.2.$n 2>&1 || return 1
grep "name: \." rndc.out.2.$n > /dev/null || return 1
return 0
}
retry_quiet 5 check_root_trust_anchor_is_present_in_status || ret=1
if [ $ret != 0 ]; then echo_i "failed"; fi
status=$((status+ret))