]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add a test to check for IXFR->AXFR race-condition
authorAram Sargsyan <aram@isc.org>
Thu, 5 Mar 2026 11:15:38 +0000 (11:15 +0000)
committerArаm Sаrgsyаn (GitLab job 7145843) <aram@isc.org>
Fri, 3 Apr 2026 12:05:44 +0000 (12:05 +0000)
commitd1537583a7cfd8d556ba9b067e0549838482ea8d
tree7dd82d76c73dfe9f1e499e78cbc4dab3b3f529d4
parentc830233fb78b183e9830e508d733f6c3088c271c
Add a test to check for IXFR->AXFR race-condition

The test initiates a zone transfer with IXFR, which produces
a big amount of differences and then generates an error. The
secondary should be able to gracefully shutdown the ongoing
IXFR transfer and retry with AXFR without race conditions
between them.

This test checks for an issue (GL#5767) but since a race
condition is usually time-sensitive it might require several
attempts before it reproduces the issue.

(cherry picked from commit 5c248e7d1acb97468d304d0e44f0074c5fbfc750)
bin/tests/system/xfer/ans11/ans.py [new file with mode: 0644]
bin/tests/system/xfer/ns6/named.conf.j2
bin/tests/system/xfer/tests_xfer.py