Fix Kafka test startup delays in CI #5
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/ci-kafka-test-shutdown"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CI test contexts started Kafka admin clients and listener containers against the unavailable localhost broker, causing repeated retry and shutdown delays.
The test profile now disables Kafka topic creation and listener startup, and tests that publish link events mock the relevant publishers.
Verification: 46/46 tests pass in 39.4 seconds with Kafka unavailable; bootJar and the CI Dockerfile build also pass.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.