]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Unbreak 'ContinueAction' regression tests
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 1 Feb 2022 10:23:45 +0000 (11:23 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 1 Feb 2022 10:23:45 +0000 (11:23 +0100)
regression-tests.dnsdist/test_RulesActions.py

index 66de62a18557c30a9b6709781fc4541607d2197f..6468502f0479d4eea628053a9c50aa6b28e8d5b3 100644 (file)
@@ -1334,10 +1334,11 @@ class TestAdvancedContinueAction(DNSDistTest):
         for method in ("sendUDPQuery", "sendTCPQuery"):
             sender = getattr(self, method)
             (receivedQuery, receivedResponse) = sender(query, response)
+            expectedQuery.id = receivedQuery.id
             self.assertEqual(receivedQuery, expectedQuery)
             self.assertEqual(receivedResponse, expectedResponse)
 
-    def testNoContinue(self):
+    def testContinue(self):
         """
         Advanced: Query routed to pool, ContinueAction() should not stop the processing
         """