]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Retry edns512 multiple times to trigger fallback to edns at 512
authorMark Andrews <marka@isc.org>
Fri, 23 Oct 2020 22:36:33 +0000 (09:36 +1100)
committerMark Andrews <marka@isc.org>
Mon, 9 Nov 2020 21:45:44 +0000 (21:45 +0000)
We want named to have slow resolving (multiple retries) when
there is a very small working MTU

bin/tests/system/legacy/tests.sh

index aca5991e1115768d0f967c32f70eb6f44903f898..7fb35a14cce76bf3d6ddb0aee6f2ac2cc5e58465 100755 (executable)
@@ -199,9 +199,9 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "checking recursive lookup to edns 512 server fails ($n)"
+echo_i "checking recursive lookup to edns 512 server succeeds ($n)"
 ret=0
-resolution_fails edns512. || ret=1
+retry_quiet 3 resolution_succeeds edns512. || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`