mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 07:40:00 -04:00
The serve_stale shell suite uses a UDP-only perl mock as its authoritative server. Now that the resolver escalates to TCP after repeated UDP timeouts, three steps in serve_stale/tests.sh that exercise resolver-query-timeout behaviour no longer reach the timeout — the TCP fallback short-circuits to SERVFAIL via `connection refused` on the perl mock. Move those scenarios to a new system test directory `bin/tests/system/serve_stale_tcp/` that uses a ControllableAsyncDnsServer mock listening on both UDP and TCP, so the resolver's TCP path is exercised end-to-end and the original timing semantics are preserved. Remove the corresponding shell steps from serve_stale/tests.sh. Assisted-by: Claude:claude-opus-4-7 |
||
|---|---|---|
| .. | ||
| ans2 | ||
| ans8 | ||
| ns1 | ||
| ns3 | ||
| ns4 | ||
| ns5 | ||
| ns6 | ||
| ns7 | ||
| .gitignore | ||
| prereq.sh | ||
| tests.sh | ||
| tests_sh_serve_stale.py | ||