]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
chg: test: Improve logging from isctest.run.retry_with_timeout
authorNicki Křížek <nicki@isc.org>
Thu, 19 Jun 2025 13:05:56 +0000 (13:05 +0000)
committerNicki Křížek <nicki@isc.org>
Thu, 19 Jun 2025 13:05:56 +0000 (13:05 +0000)
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

Merge branch '5324-pytest-isctest-run-logging' into 'main'

See merge request isc-projects/bind9!10580


Trivial merge