mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 20:25:55 -04:00
Merge branch '3916-legacy-test-no-retries-in-resolution_fails-9.18' into 'bind-9.18'
[9.18] Do not retry in resolution_fails() on timeout See merge request isc-projects/bind9!7816
This commit is contained in:
commit
a901bf893f
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ resolution_succeeds() {
|
|||
resolution_fails() {
|
||||
_servfail=0
|
||||
_timeout=0
|
||||
$DIG $DIGOPTS +tcp +tries=3 +time=5 @10.53.0.1 ${1} TXT > dig.out.test$n
|
||||
$DIG $DIGOPTS +tcp +time=5 @10.53.0.1 ${1} TXT > dig.out.test$n
|
||||
grep -F "status: SERVFAIL" dig.out.test$n > /dev/null && _servfail=1
|
||||
grep -F "timed out" dig.out.test$n > /dev/null && _timeout=1
|
||||
if [ $_servfail -eq 1 ] || [ $_timeout -eq 1 ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue