test: attempt to fix resolved wait-online testcase

Fixes: #37430
This commit is contained in:
Lennart Poettering
2025-05-14 14:24:02 +02:00
parent 798d140cac
commit c019ad849f

View File

@@ -1293,6 +1293,7 @@ testcase_15_wait_online_dns() {
# Wait for the monitor to exit gracefully.
timeout 10 bash -c "while systemctl --quiet is-active $unit; do sleep 0.5; done"
journalctl --sync
# Check that a disconnect happened, and was handled.
journalctl -b -u "$unit" --grep="DNS configuration monitor disconnected, reconnecting..." > /dev/null