mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 02:39:59 -04:00
fix: test: Fix cyclic glues (again)
Previous fix `ed90d578b3a98f45eb8bc09966e9c4ab870a156d` uses `wait_for_line()` by mistake, and the test aims to wait for two log lines to be printed before continuing. In principle, `wait_for_all()` should do, but `running` should always be printed first, so `wait_for_sequence()` seems to be the right fit here. Merge branch 'colin/fix-cyclic-glues-again' into 'main' See merge request isc-projects/bind9!12013
This commit is contained in:
commit
b4e8e431eb
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ def test_cyclic_glues(ns1, ns4, templates):
|
|||
templates.render("ns1/root.db", {"broken_ns": True})
|
||||
with ns1.watch_log_from_here() as watcher:
|
||||
ns1.rndc("reload")
|
||||
watcher.wait_for_line(["running", "zone ./IN: loaded serial"])
|
||||
watcher.wait_for_all(["running", "zone ./IN: loaded serial"])
|
||||
|
||||
with ns4.watch_log_from_here() as watcher:
|
||||
ns4.rndc("flush")
|
||||
|
|
|
|||
Loading…
Reference in a new issue