]> git.ipfire.org Git - thirdparty/bind9.git/commit
Wait for outgoing transfer statistics to be logged
authorMichał Kępień <michal@isc.org>
Tue, 25 Jun 2019 12:30:16 +0000 (14:30 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 25 Jun 2019 19:41:42 +0000 (21:41 +0200)
commit9fc5e48b1410133273f7db7ac4425430140664c2
treee2d53977900dd38f42d1e9dd123319081b041893
parent955732d29c0b2be60afac7e8b558fc9d38e502ec
Wait for outgoing transfer statistics to be logged

Since the message confirming outgoing transfer completion is logged
asynchronously, it may happen that transfer statistics may not yet be
logged by the time the dig command triggering a given transfer returns.
This causes false positives for the "ixfr" and "xfer" system tests.
Prevent this from happening by checking outgoing transfer statistics up
to 10 times, in 1-second intervals.
bin/tests/system/ixfr/tests.sh
bin/tests/system/xfer/tests.sh