]> git.ipfire.org Git - thirdparty/pdns.git/commit - regression-tests.dnsdist/test_Spoofing.py
dnsdist: Fix cache tests. Clean tests backends. 3458/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 25 Feb 2016 16:51:24 +0000 (17:51 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 25 Feb 2016 16:51:24 +0000 (17:51 +0100)
commitfe1c60f2cc2a747d270a9dfcb34c4cb70a9fbcd6
treef566501297dd114d71265ecd15578c373463c51b
parent1c6b76c1c030cc2cca4741acd63fe0a0eaffbb60
dnsdist: Fix cache tests. Clean tests backends.

Several issues:
- the cache tests used a vey small cache, not large enough for the
number of responses we expected to cache during the test suite
- this was hidden by the default response from the backends
matching what the test expected
- and by the backends not counting properly what looked like a
health check but wasn't.
regression-tests.dnsdist/dnscrypt.py
regression-tests.dnsdist/dnsdisttests.py
regression-tests.dnsdist/pylintrc [new file with mode: 0644]
regression-tests.dnsdist/test_Caching.py
regression-tests.dnsdist/test_CheckConfig.py
regression-tests.dnsdist/test_EdnsClientSubnet.py
regression-tests.dnsdist/test_Spoofing.py