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.
This commit is contained in:
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user