From de3dca4b490e2abcc1fa7df1966572fd074c2e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicki=20K=C5=99=C3=AD=C5=BEek?= Date: Tue, 9 Dec 2025 11:24:40 +0100 Subject: [PATCH] Fix a timing issue in notify test There are a total of 22 notifies required before the start of the test: 20 for each x1..x20 and two for x21, as it has a couple of servers. (cherry picked from commit 8f326a7af755b870702292059dea15b809887b5b) --- bin/tests/system/notify/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/notify/tests.sh b/bin/tests/system/notify/tests.sh index 223840a87b..1f16ba8d7f 100644 --- a/bin/tests/system/notify/tests.sh +++ b/bin/tests/system/notify/tests.sh @@ -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 23 ] || ret=1 + [ "$nr" -ge 22 ] || 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 < 23) exit(1); + if (count < 22) exit(1); }' ns2/named.run >awk.out.ns2.test$n || ret=1 test_end