]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: geoip, add regression test for issue #7051
authorBaptiste Courtois <b.courtois@criteo.com>
Sat, 24 Nov 2018 15:12:03 +0000 (16:12 +0100)
committerBaptiste Courtois <b.courtois@criteo.com>
Fri, 25 Jan 2019 18:44:55 +0000 (19:44 +0100)
commit9e45e188a9e92f97c85e71fec69a2ff9c32807e9
tree5defcd8fcae5ceadcfd44e002149e55800855871
parent72386ccce9ac6d300b4b290dab092783064a8029
auth: geoip, add regression test for issue #7051

The added test does not validate that the weight system is working in
a pseudo-random way. It use a single entry per QType to ensure that
they are all queryable individually or via a ANY question.

The ANY test is done using TCP to avoid test failure due to exceeded
buffer size.
modules/geoipbackend/regression-tests/mixed-weight-resolution/command [new file with mode: 0755]
modules/geoipbackend/regression-tests/mixed-weight-resolution/description [new file with mode: 0644]
modules/geoipbackend/regression-tests/mixed-weight-resolution/expected_result [new file with mode: 0644]
regression-tests/backends/geoip-master