]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
tests(dnsdist): Send queries for testing downstream TRACEPARENT without said option
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 12 Feb 2026 14:06:58 +0000 (15:06 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Thu, 19 Feb 2026 16:07:36 +0000 (17:07 +0100)
regression-tests.dnsdist/test_OpenTelemetryTracing.py

index 64302173ccadc717b74df43463de2b0531359775..93b1ce15c43f9f2118c3ba1798470ff6b74e1763 100644 (file)
@@ -919,12 +919,8 @@ query_rules:
     def doQuery(self, useTCP=False):
         name = "query.ot.tests.powerdns.com."
 
-        ottrace = dns.edns.GenericOption(str(65500), "\x00\x00")
-        ottrace.data += binascii.a2b_hex("12345678901234567890123456789012")
-        ottrace.data += binascii.a2b_hex("1234567890123456")
-        ottrace.data += binascii.a2b_hex("00")
         query = dns.message.make_query(
-            name, "A", "IN", use_edns=True, options=[ottrace]
+            name, "A", "IN", use_edns=True
         )
 
         if useTCP: