diff --git a/test/units/testsuite-75.sh b/test/units/testsuite-75.sh index 0c68e0636f9..d2062c7b059 100755 --- a/test/units/testsuite-75.sh +++ b/test/units/testsuite-75.sh @@ -212,6 +212,11 @@ resolvectl log-level debug # Start monitoring queries systemd-run -u resmontest.service -p Type=notify resolvectl monitor +# Wait for the monitoring service to become active +for _ in {0..9}; do + [[ "$(systemctl show -P ActiveState resmontest.service)" == "active" ]] && break + sleep .5 +done # We need to manually propagate the DS records of onlinesign.test. to the parent # zone, since they're generated online