From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 13 Nov 2025 15:32:33 +0000 (-0500) Subject: Check results X-Git-Tag: rec-5.4.0-alpha1~83^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a7625df6c5bbde30f837d29cfc2df49ddd38ce6;p=thirdparty%2Fpdns.git Check results Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/regression-tests.dnsdist/test_Caching.py b/regression-tests.dnsdist/test_Caching.py index 51767c59b8..69c8a12ea7 100644 --- a/regression-tests.dnsdist/test_Caching.py +++ b/regression-tests.dnsdist/test_Caching.py @@ -2834,6 +2834,8 @@ class TestCachingAlteredHeader(DNSDistTest): for method in ("sendUDPQuery", "sendTCPQuery"): sender = getattr(self, method) (receivedQuery, receivedResponse) = sender(query, response=None, useQueue=False) + self.assertFalse(receivedQuery) + self.assertTrue(receivedResponse) # same query with RD=0, should hit the cache as well query.flags &= ~dns.flags.RD