]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix a race in TLS certificate generation in the tests 13253/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 13 Sep 2023 14:27:51 +0000 (16:27 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 13 Sep 2023 14:27:51 +0000 (16:27 +0200)
commit58ae5410e204c3775831b501be3cc92fd4595ea2
tree4b766c7b65a8da21a0eed18002d09dacbd7e3f4d
parentbd6745952ec42b49f75fbefc0e2895ef34cd162e
dnsdist: Fix a race in TLS certificate generation in the tests

The OCSP and TLS tests are generating new TLS certificate and key,
so there was a time window for a certificate/key mismatch if a test
is starting right at the moment the OCSP and TLS tests are generating
new material. This commit fixes it by using different file names for
these tests.
regression-tests.dnsdist/.gitignore
regression-tests.dnsdist/dnsdisttests.py
regression-tests.dnsdist/test_OCSP.py
regression-tests.dnsdist/test_TLS.py