mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-04 20:22:03 -04:00
[9.20] fix: test: Fix "checking startup notify rate limit" fails on OL 8 FIPS
Adjust number of zones down to 23 to match those present when testing in FIPS mode. Closes #5097 Backport of MR !9919 Merge branch 'backport-5097-checking-startup-notify-rate-limit-fails-on-ol-8-fips-9.20' into 'bind-9.20' See merge request isc-projects/bind9!9935
This commit is contained in:
commit
f85a7f9be9
1 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ for i in 1 2 3 4 5 6 7 8 9 10; do
|
|||
grep "status: NOERROR" dig.out.ns3.test$n >/dev/null || ret=1
|
||||
grep "flags:.* aa[ ;]" dig.out.ns3.test$n >/dev/null || ret=1
|
||||
nr=$(grep -c 'x[0-9].*sending notify to' ns2/named.run)
|
||||
[ "$nr" -ge 40 ] || ret=1
|
||||
[ "$nr" -ge 23 ] || ret=1
|
||||
[ $ret = 0 ] && break
|
||||
sleep 1
|
||||
done
|
||||
|
|
@ -94,7 +94,7 @@ END {
|
|||
print "count:", count;
|
||||
print "average:", average;
|
||||
if (average < 0.180) exit(1);
|
||||
if (count < 40) exit(1);
|
||||
if (count < 23) exit(1);
|
||||
}' ns2/named.run >awk.out.ns2.test$n || ret=1
|
||||
test_end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue