]> git.ipfire.org Git - thirdparty/bind9.git/commit
adjust system tests to deal with possible timing issues
authorEvan Hunt <each@isc.org>
Wed, 6 Nov 2019 00:14:06 +0000 (16:14 -0800)
committerEvan Hunt <each@isc.org>
Thu, 7 Nov 2019 20:42:14 +0000 (12:42 -0800)
commit24510a1fda71d1c3c47eb2e69a9694ecf1fa2ef3
tree8c5f527e5519d2702f10700f6b6500b662c70c4a
parentb9a5508e526084a2f80a0bfc742505a82afc9916
adjust system tests to deal with possible timing issues

With the netmgr in use, named may start answering queries before zones
are loaded. This can cause transient failures in system tests after
servers are restarted or reconfigured. This commit adds retry loops
and sleep statements where needed to address this problem.

Also incidentally silenced a clang warning.
18 files changed:
bin/tests/system/addzone/tests.sh
bin/tests/system/dlzexternal/driver.c
bin/tests/system/ecdsa/tests.sh
bin/tests/system/forward/tests.sh
bin/tests/system/legacy/clean.sh
bin/tests/system/legacy/tests.sh
bin/tests/system/nsupdate/tests.sh
bin/tests/system/nzd2nzf/tests.sh
bin/tests/system/resolver/ns7/named2.conf.in
bin/tests/system/rpz/tests.sh
bin/tests/system/rpzrecurse/tests.sh
bin/tests/system/statistics/tests.sh
bin/tests/system/tcp/ans6/ans.py
bin/tests/system/tcp/tests.sh
bin/tests/system/unknown/tests.sh
bin/tests/system/upforwd/ns3/named.conf.in
bin/tests/system/upforwd/tests.sh
bin/tests/system/xfer/tests.sh