]> git.ipfire.org Git - thirdparty/bind9.git/commit
update serve-stale test to support EDE 22
authorColin Vidal <colin@isc.org>
Fri, 24 Jan 2025 10:23:43 +0000 (11:23 +0100)
committerColin Vidal <colin@isc.org>
Thu, 30 Jan 2025 14:43:25 +0000 (14:43 +0000)
commit588924bbb5e2983c795f45bb49e5a4d82bb71734
tree7002d12528ec5c9be90db3596832e0e6d2dc717e
parentedd6f0eb35c5ffbb422d0078fe64a0b058cacfaf
update serve-stale test to support EDE 22

When EDE 3 (stale answer) was added the serve-stale tests were checking
for those exclusively, i.e. grepping for no "EDE" in the dig output when
no stale answer was expected.

However, some stale tests disable stale answers and make the
authoritative server unresponsive, effectively triggering a timed out
request thus an EDE 22. Update those tests so they still tests the
absence of EDE 3 error, but also the presence of EDE 22.

(cherry picked from commit 27f3b8950a675afe875759027a241da7c5244511)
bin/tests/system/serve-stale/tests.sh