Previous fix `
ed90d578b3a98f45eb8bc09966e9c4ab870a156d` uses
`wait_for_line()` by mistake as the test aims to wait for two log lines
to be printed before continuing (and not continuing as soon as one of
them is printed).
Instead, `wait_for_all()` is used since the order between the two
expected log line is not guaranteed.
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")