]> git.ipfire.org Git - thirdparty/bind9.git/commit
Improve logging from isctest.run.retry_with_timeout
authorNicki Křížek <nicki@isc.org>
Fri, 6 Jun 2025 13:11:44 +0000 (15:11 +0200)
committerNicki Křížek <nicki@isc.org>
Thu, 19 Jun 2025 13:06:39 +0000 (13:06 +0000)
commitab9b2c947f48eb25df3d547131b628363fdce790
treee4e3ea98a656447af87f413dbb7b5ac0c1e15cd3
parent35efa742b03e8b04fbf810f49ac96c525ee03cd0
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.

(cherry picked from commit 620c884133f1cac13efebaf381855462a123927c)
bin/tests/system/isctest/kasp.py
bin/tests/system/isctest/run.py