]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
increase simultaneous updates for quota test
authorEvan Hunt <each@isc.org>
Tue, 7 Feb 2023 19:05:13 +0000 (11:05 -0800)
committerEvan Hunt <each@isc.org>
Wed, 8 Feb 2023 07:36:02 +0000 (23:36 -0800)
the nsupdate system test was intermittently failing due to the update
quota not being exceeded when it should have been.  this is most likely
a timing issue: the client is sending updates too slowly, or the server
is processing them too quickly, for the quota to fill. this commit
attempts to make that the failure less likely by increasing the number
of update transactions from 10 to 20.

bin/tests/system/nsupdate/tests.sh

index 73336096456415805f13bf6add3f15a2186005bf..d78407229db99fdad3234587b0bdb5f1ccd88339 100755 (executable)
@@ -1575,7 +1575,7 @@ grep 'failed: REFUSED' nsupdate.out.test$n > /dev/null || ret=1
 n=$((n + 1))
 ret=0
 echo_i "check that update is rejected if quota is exceeded ($n)"
-for loop in 1 2 3 4 5 6 7 8 9 10; do
+for loop in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
 {
   $NSUPDATE -4 -l -p ${PORT} -k ns1/session.key > /dev/null 2>&1 <<END
   update add txt-$loop.other.nil 3600 IN TXT Whatever