]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Rec: fix locked regr test 12055/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 3 Oct 2022 13:47:46 +0000 (15:47 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 3 Oct 2022 13:50:19 +0000 (15:50 +0200)
(cherry picked from commit 23064464fe298ac748470942de6e04a429be9a31)

regression-tests.recursor-dnssec/test_LockedCache.py

index b53ceff7d7abc471139f9e4d5ef48b5d05aed484..4977f76a6260dd98fd0e160cea9a4bda7191ee64 100644 (file)
@@ -76,7 +76,7 @@ class testNotLockedCache(RecursorTest):
                 pieces = i.split(' ')
                 print(pieces)
                 if pieces[0] == 'mx1.secure.example.' and pieces[4] == 'A':
-                    return pieces[2]
+                    return int(pieces[2])
             return -1
 
         except subprocess.CalledProcessError as e: