]> 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:09:18 +0000 (13:09 +0200)
commit2be8bdb3f44f073954daa0c5f04a9cd6dde583b1
treed1d114f231698eb4481a18cddddd4a34706e9c26
parent4340b3537de687d9606aebc4107fa06ebe8888ae
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)
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/srtt_ans.py [new file with mode: 0644]
bin/tests/system/srtt/tests_srtt.py [new file with mode: 0644]