test: add sync request until all logging about the test unit is done

This commit is contained in:
Lennart Poettering
2025-05-13 14:42:34 +02:00
parent daf96eea73
commit 80ab0e04d3
@@ -36,6 +36,7 @@ run_service_and_fetch_logs() {
fi
systemctl start "$unit"
journalctl --sync
journalctl -q -u "$unit" -I -p notice
}