tests: migrate to wait_for_open_unix_socket helper

This commit is contained in:
Martin Weinelt
2026-04-18 23:04:09 +02:00
parent e4017308b2
commit 25fae6f36e
5 changed files with 7 additions and 26 deletions
+1 -4
View File
@@ -181,10 +181,7 @@ in
# if the schema is broken, fail fast. helps during development.
machine.wait_for_unit("openldap.service")
# TODO put this blocking into the systemd units?
machine.wait_until_succeeds(
"set +e; timeout 1 nc -U /run/rspamd/rspamd-milter.sock < /dev/null; [ $? -eq 124 ]"
)
machine.wait_for_open_unix_socket("/run/rspamd/rspamd-milter.sock")
# This function retrieves the ldap table file from a postconf
# command.