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:
parent
ef09861a0b
commit
133708b879
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user