]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - regression-tests.recursor-dnssec/test_EDNS.py
rec: dnspython's API changed wrt NSID, apply (version dependent) fix in regression...
[thirdparty/pdns.git] / regression-tests.recursor-dnssec / test_EDNS.py
index aab178249246eea314067a6800c3f53a3e2bf742..172ab398038951e5f5921eaea9ccf4609553512d 100644 (file)
@@ -4,6 +4,8 @@ import socket
 import struct
 import threading
 import time
+import sys
+from unittest import SkipTest
 
 from recursortests import RecursorTest
 from twisted.internet.protocol import DatagramProtocol
@@ -35,6 +37,8 @@ class EDNSTest(RecursorTest):
         Ensure the rcode is BADVERS when we send an unsupported EDNS version and
         the query is not processed any further.
         """
+        if sys.version_info >= (3, 11) and sys.version_info <= (3, 11, 3):
+            raise SkipTest("Test skipped, see https://github.com/PowerDNS/pdns/pull/12912")
         query = dns.message.make_query('version.bind.', 'TXT', 'CH', use_edns=5,
                                        payload=4096)
         response = self.sendUDPQuery(query)