From: Mark Andrews Date: Tue, 28 Feb 2023 03:10:56 +0000 (+1100) Subject: Fix 'lame server clients are dropped below the hard limit' test X-Git-Tag: v9.19.11~16^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af47090d99d68f23107a65cbddea5d0231269484;p=thirdparty%2Fbind9.git Fix 'lame server clients are dropped below the hard limit' test The test was setting a minimum count for recursive clients which was not always being met (e.g. 91 instead of 100) producing a false positive. Lower the lower bound on recursive clients for this test to 1. --- diff --git a/bin/tests/system/fetchlimit/tests.sh b/bin/tests/system/fetchlimit/tests.sh index c0da8d2d7e7..9ca4ff7a7ea 100644 --- a/bin/tests/system/fetchlimit/tests.sh +++ b/bin/tests/system/fetchlimit/tests.sh @@ -165,7 +165,7 @@ touch ans4/norespond for try in 1 2 3 4 5; do burst b $try 400 $DIGCMD +time=2 a ${try}.example > dig.out.ns3.$try - stat 100 400 || exceeded=$((exceeded + 1)) + stat 1 400 || exceeded=$((exceeded + 1)) grep "status: NOERROR" dig.out.ns3.$try > /dev/null 2>&1 && \ success=$((success+1)) grep "status: SERVFAIL" dig.out.ns3.$try > /dev/null 2>&1 && \