1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

Revert "test: wait for the monitoring service to become active"

This reverts commit 5dd34c2604.

`resolvectl monitor` sends notify event, and systemd-run wait for the
service being in active state. Hence, the loop is not necessary.
This commit is contained in:
Yu Watanabe 2022-12-15 16:28:52 +09:00
parent ef09861a0b
commit 133708b879

View File

@ -212,11 +212,6 @@ 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