]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Check results
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 13 Nov 2025 15:32:33 +0000 (10:32 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 13 Nov 2025 15:32:33 +0000 (10:32 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
regression-tests.dnsdist/test_Caching.py

index 51767c59b8483c69778906c4cceddc04162a1b80..69c8a12ea7fcd169365319ef5f968369e93d7945 100644 (file)
@@ -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