From 1d6721c5fa73f8ae08431f93f4878c643e197b4f Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Tue, 7 Feb 2023 11:05:13 -0800 Subject: [PATCH] increase simultaneous updates for quota test 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. (cherry picked from commit 06b1faf06875d84d7ace093d774549cb31c5a442) --- bin/tests/system/nsupdate/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/nsupdate/tests.sh b/bin/tests/system/nsupdate/tests.sh index 9b80dd464c..068e5a2228 100755 --- a/bin/tests/system/nsupdate/tests.sh +++ b/bin/tests/system/nsupdate/tests.sh @@ -1370,7 +1370,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 <