]> git.ipfire.org Git - thirdparty/bind9.git/commit
Retry multiple times in doth test when checking if the zone file exists
authorAram Sargsyan <aram@isc.org>
Tue, 7 Mar 2023 14:12:10 +0000 (14:12 +0000)
committerAram Sargsyan <aram@isc.org>
Thu, 9 Mar 2023 10:40:43 +0000 (10:40 +0000)
commit0b80d442ac4cfecbf11c018b82e6966449afee12
treedb21a10dbcb7ca5b604b7dc054f4e1d66386c518
parent5ed65ce81f63447485044be9fa6f3e13f7c20d92
Retry multiple times in doth test when checking if the zone file exists

Dumping of the freshly transferred zone file can take some time.

Retry 5 times before failing.

The log excerpt below shows such a case, when dumping lasted more than
two seconds.

    06-Mar-2023 09:32:09.973 zone example6/IN: Transfer started.
    06-Mar-2023 09:32:10.301 zone example6/IN: zone transfer finished: success
    06-Mar-2023 09:32:10.301 zone_dump: zone example6/IN: enter
    06-Mar-2023 09:32:11.789 client @0x7fe9ab435d68 10.53.0.10#44113 (example6): AXFR request
    06-Mar-2023 09:32:11.801 client @0x7fe9ab435d68 10.53.0.10#44113 (example6): transfer of 'example6/IN': AXFR ended: 5 messages, 2676 records, 55815 bytes, 0.011 secs (5074090 bytes/sec) (serial 1397051952)
    06-Mar-2023 09:32:12.409 zone_gotwritehandle: zone example6/IN: enter
    06-Mar-2023 09:32:12.421 dump_done: zone example6/IN: enter
    06-Mar-2023 09:32:12.421 zone_journal_compact: zone example6/IN: target journal size 53044

(cherry picked from commit 5d5d4b523be029b4781fc53c3c95143d783db39f)
bin/tests/system/doth/tests.sh