]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix the Dynamic Block ratio regression test
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 27 Nov 2020 11:27:19 +0000 (12:27 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 27 Nov 2020 11:27:19 +0000 (12:27 +0100)
commitdcc50bde3ada3ed35fd1b3ac420040fd8a81ac88
tree20102f332778ee90323933b5c94a6802759999c0
parent3814053e12332163e9776220fb44856ed1abd058
dnsdist: Fix the Dynamic Block ratio regression test

We now properly skip the too old entries when scanning responses,
so we need to set a long enough period so that the responses are
still valids when we compute the ratio.
regression-tests.dnsdist/test_DynBlocks.py