]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix cyclic_glue system test 12003/head
authorColin Vidal <colin@isc.org>
Tue, 12 May 2026 12:42:35 +0000 (14:42 +0200)
committerColin Vidal <colin@isc.org>
Tue, 12 May 2026 14:42:31 +0000 (16:42 +0200)
The cyclic_glue system test was waiting for `running` log after
an `rndc reload` command, but wasn't waiting for the log saying a
specific zone which changed has been reloaded `zone <zone>/IN: loaded`.

As a result, the test could randomly fails. This is now fixed.

bin/tests/system/cyclic_glue/tests_cyclic_glue.py

index 3f52255a5b5ffdec0953af9a97d935b054b41169..6957e845301c8ca98a13dad5e1a4d3dbc0b56098 100644 (file)
@@ -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")
+        watcher.wait_for_line(["running", "zone ./IN: loaded serial"])
 
     with ns4.watch_log_from_here() as watcher:
         ns4.rndc("flush")