From: Otto Moerbeek Date: Mon, 3 Oct 2022 13:47:46 +0000 (+0200) Subject: Rec: fix locked regr test X-Git-Tag: rec-4.8.0-beta1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fcf530bb553448f8f716cda09332ee10b83a9bd3;p=thirdparty%2Fpdns.git Rec: fix locked regr test (cherry picked from commit 23064464fe298ac748470942de6e04a429be9a31) --- diff --git a/regression-tests.recursor-dnssec/test_LockedCache.py b/regression-tests.recursor-dnssec/test_LockedCache.py index b53ceff7d7..4977f76a62 100644 --- a/regression-tests.recursor-dnssec/test_LockedCache.py +++ b/regression-tests.recursor-dnssec/test_LockedCache.py @@ -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: