From ff84d74b0335bfcfe9d85b8a61d5ab69da79a2ee Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 31 Jan 2022 12:45:36 +0100 Subject: [PATCH] rec: Fix the exit code when the recursor fails to start in our tests --- regression-tests.recursor-dnssec/recursortests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.47.2