]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
tests-extra: fix ctl socket connection in modules/queryacl
authorMark Karpilovskij <mark.karpilovskij@nic.cz>
Mon, 8 Oct 2018 11:21:13 +0000 (13:21 +0200)
committerMark Karpilovskij <mark.karpilovskij@nic.cz>
Mon, 8 Oct 2018 11:24:39 +0000 (13:24 +0200)
tests-extra/tests/modules/queryacl/test.py

index 397b041b6b3622c03da6305f4aeb649e74a8227d..f812e2079739ac0c527bbbaa2a578cb8d8a4f71f 100644 (file)
@@ -26,6 +26,9 @@ t.start()
 
 knot.zones_wait(zones)
 
+# Wait for server to start listening on the control socket.
+t.sleep(3)
+
 ctl.connect(os.path.join(knot.dir, "knot.sock"))
 ctl.send_block(cmd="conf-begin")
 ctl.receive_block()