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

This commit is contained in:
Lennart Poettering
2025-04-08 18:35:35 +02:00
parent daf96eea73
commit 80ab0e04d3

View File

@@ -36,6 +36,7 @@ run_service_and_fetch_logs() {
fi
systemctl start "$unit"
journalctl --sync
journalctl -q -u "$unit" -I -p notice
}