Fix Kafka test startup delays in CI #5

Open
23365978 wants to merge 0 commits from fix/ci-kafka-test-shutdown into main
Owner

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.

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.
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/ci-kafka-test-shutdown:fix/ci-kafka-test-shutdown
git switch fix/ci-kafka-test-shutdown

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.

git switch main
git merge --no-ff fix/ci-kafka-test-shutdown
git switch fix/ci-kafka-test-shutdown
git rebase main
git switch main
git merge --ff-only fix/ci-kafka-test-shutdown
git switch fix/ci-kafka-test-shutdown
git rebase main
git switch main
git merge --no-ff fix/ci-kafka-test-shutdown
git switch main
git merge --squash fix/ci-kafka-test-shutdown
git switch main
git merge --ff-only fix/ci-kafka-test-shutdown
git switch main
git merge fix/ci-kafka-test-shutdown
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
23365978/cs4297-linklab!5
No description provided.