tests: migrate to wait_for_open_unix_socket helper
This commit is contained in:
+1
-4
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user