From c019ad849f53b3eb845e5f5e64561a1bfa8dac18 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 14 May 2025 14:24:02 +0200 Subject: [PATCH] test: attempt to fix resolved wait-online testcase Fixes: #37430 --- test/units/TEST-75-RESOLVED.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.3