]> git.ipfire.org Git - thirdparty/pdns.git/commit
Avoid a race in test code between processing the first query and the priming code. 11587/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 28 Apr 2022 11:38:14 +0000 (11:38 +0000)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 28 Apr 2022 12:19:53 +0000 (12:19 +0000)
commit71db2766b978a5b37bfd2e6550734f699f98a249
tree09aca030bc85f49e19643798cade015f0d22e7b5
parent10c961f5f1ed8b72e308f89da4cc36e768eaa60a
Avoid a race in test code between processing the first query and the priming code.

It can happen the root updating houskeeping code has not run yet when
processing the first query.  In that case, we do not have root DNSKEY
records in cache.  When validating the answer, rec will then go out and
fetch those, so no real issue, apart form the fact that it interferes
with our expected outgoing protobuf messages.

Same make sure the root DNSKEY records are cached before doing the actual
test query.
regression-tests.recursor-dnssec/test_Protobuf.py