diff --git a/test/units/TEST-75-RESOLVED.sh b/test/units/TEST-75-RESOLVED.sh index 104747e8d1..be3a90385d 100755 --- a/test/units/TEST-75-RESOLVED.sh +++ b/test/units/TEST-75-RESOLVED.sh @@ -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