]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add SRTT-based server selection system test
authorColin Vidal <colin@isc.org>
Wed, 4 Mar 2026 17:25:32 +0000 (18:25 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 7 May 2026 11:21:59 +0000 (13:21 +0200)
commitd5cd9b71ebadf7c0c76f09c5bbb65b6a7b944d0d
tree48b61010fce2697a98b5d5cafbcbe0a055e05513
parentb0e8966647e744482edc06e48bc9ff5079a1c541
Add SRTT-based server selection system test

Verify that the resolver selects authoritative servers in increasing
SRTT order.  Four servers are configured with increasing response
delays.  100 queries are sent, expecting most to go to the fastest
server (ns2).  Then ns2 stops responding, another 100 queries are
sent and should go to ns3 (the next fastest), and so on through
ns4 and ns5.  Each query uses a unique name to avoid cache hits.

(cherry picked from commit a8d11e14f5b4e4d53219ba751d1b741162b0b84b)
12 files changed:
bin/tests/system/srtt/README [new file with mode: 0644]
bin/tests/system/srtt/ans2/ans.py [new file with mode: 0644]
bin/tests/system/srtt/ans3/ans.py [new file with mode: 0644]
bin/tests/system/srtt/ans4/ans.py [new file with mode: 0644]
bin/tests/system/srtt/ans5/ans.py [new file with mode: 0644]
bin/tests/system/srtt/ns1/named.conf.j2 [new file with mode: 0644]
bin/tests/system/srtt/ns1/root.db [new file with mode: 0644]
bin/tests/system/srtt/ns6/named.args [new file with mode: 0644]
bin/tests/system/srtt/ns6/named.conf.j2 [new file with mode: 0644]
bin/tests/system/srtt/prereq.sh [new file with mode: 0644]
bin/tests/system/srtt/srtt_ans.py [new file with mode: 0644]
bin/tests/system/srtt/tests_srtt.py [new file with mode: 0644]