tests-extra: fix ctl socket connection in modules/queryacl

This commit is contained in:
Mark Karpilovskij 2018-10-08 13:21:13 +02:00
parent 8fa0e57903
commit b90a215154

View 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()