]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] chg: test: Improve logging from isctest.run.retry_with_timeout
authorNicki Křížek <nicki@isc.org>
Thu, 19 Jun 2025 13:41:17 +0000 (13:41 +0000)
committerNicki Křížek <nicki@isc.org>
Thu, 19 Jun 2025 13:41:17 +0000 (13:41 +0000)
commit270970a461bf71176a1799b9226537b6dd7d67f3
tree5ed1973b334401c3e50835bdc77f6b43f0af78de
parent35efa742b03e8b04fbf810f49ac96c525ee03cd0
parent455766e643b330329512843a4956d45314b2a89b
[9.20] chg: test: Improve logging from isctest.run.retry_with_timeout

Allow use of exception (and by extension, assert statements) in the
called function in order to extract essential debug information about
the type of failure that was encountered.

In case the called function fails to succeed on the last retry and
raised an exception, log it as error and set it as the assert message to
propagate it through the pytest framework.

Closes #5324

Backport of MR !10580

Merge branch 'backport-5324-pytest-isctest-run-logging-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10605