From: Remi Gacogne Date: Mon, 31 Jan 2022 11:45:36 +0000 (+0100) Subject: rec: Fix the exit code when the recursor fails to start in our tests X-Git-Tag: auth-4.7.0-alpha1~37^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff84d74b0335bfcfe9d85b8a61d5ab69da79a2ee;p=thirdparty%2Fpdns.git rec: Fix the exit code when the recursor fails to start in our tests --- diff --git a/regression-tests.recursor-dnssec/recursortests.py b/regression-tests.recursor-dnssec/recursortests.py index 1d2d66dbda..86d8f441b2 100644 --- a/regression-tests.recursor-dnssec/recursortests.py +++ b/regression-tests.recursor-dnssec/recursortests.py @@ -626,7 +626,7 @@ distributor-threads={threads}""".format(confdir=confdir, with open(logFile, 'r') as fdLog: print(fdLog.read()) print(f"*** End startRecursor log for {logFile} ***") - raise AssertionError('%s failed (%d)' % (recursorcmd, _recursor.returncode)) + raise AssertionError('%s failed (%d)' % (recursorcmd, cls._recursor.returncode)) @classmethod def wipeRecursorCache(cls, confdir):