]> git.ipfire.org Git - thirdparty/bind9.git/commit
Optimize dig parameters to decrease test run time
authorMichał Kępień <michal@isc.org>
Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 29 May 2019 09:11:49 +0000 (11:11 +0200)
commit9016f78a0f22fe6e6f425b8fd72e6bdbe7938e34
tree8dba4969d005d5d697b50419a1e48fb18b2cb6ea
parent2cd5954745d2dd51c03228baaef06decf8d08fa8
Optimize dig parameters to decrease test run time

Performing server setup checks using "+tries=3 +time=5" is redundant as
a single query is arguably good enough for determining whether a given
named instance was set up properly.  Only use multiple queries with a
long timeout for resolution checks in the "legacy" system test, in order
to significantly reduce its run time (on a contemporary machine, from
about 1m45s to 0m40s).

(cherry picked from commit 47b850348cbc2961bc44eb31c05cd620e5fc35f0)
bin/tests/system/legacy/tests.sh