]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add wait_for_all() and wait_for_sequence() to WatchLog
authorNicki Křížek <nicki@isc.org>
Mon, 23 Jun 2025 13:50:29 +0000 (15:50 +0200)
committerNicki Křížek <nicki@isc.org>
Fri, 18 Jul 2025 09:32:41 +0000 (11:32 +0200)
commit0a839cd0bdd0256db68cbe85508a17bde6cb4595
tree9fc0e3c5cc68de024c499bd7d75a77dac12d8e16
parent365f8b6af6e213398ad7d9084b0ebf9140b0933b
Add wait_for_all() and wait_for_sequence() to WatchLog

Extend the WatchLog API with a couple of new matching options.

wait_for_sequence() can be used to check a specific sequence of lines
appears in the log file in the given order.

wait_for_all() ensure that all the provided patterns appear in the log
at least once.

Co-authored-by: Colin Vidal <colin@isc.org>
bin/tests/system/isctest/log/watchlog.py