From: Lennart Poettering Date: Wed, 14 May 2025 12:24:02 +0000 (+0200) Subject: test: attempt to fix resolved wait-online testcase X-Git-Tag: v258-rc1~624 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c019ad849f53b3eb845e5f5e64561a1bfa8dac18;p=thirdparty%2Fsystemd.git test: attempt to fix resolved wait-online testcase Fixes: #37430 --- diff --git a/test/units/TEST-75-RESOLVED.sh b/test/units/TEST-75-RESOLVED.sh index 104747e8d13..be3a90385dc 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