Fix management port collision in actuator-webflux app147 test - #74
Merged
Conversation
…ests app147 Both the springdoc-openapi-actuator-webmvc-tests and springdoc-openapi-actuator-webflux-tests app147 tests hardcode management.server.port=9287. Because the reactor builds in parallel (-T 1C), the two modules run concurrently on the same host and both try to bind OS port 9287, causing intermittent 'Port already in use' failures (PortInUseException) in CI. Change the webflux app147 management port to the unused 9301 and update the corresponding expected OpenAPI results.
vpelikh
force-pushed
the
fix/ci-failures
branch
from
August 13, 2026 10:47
577e66e to
4b9396f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
springdoc-openapi-actuator-webmvc-testsandspringdoc-openapi-actuator-webflux-testsapp147tests both hardcodemanagement.server.port=9287.Because the reactor is built in parallel (
./mvnw ... -T 1C), the two modules run concurrently on the same host and both try to bind OS port9287, causing intermittent CI failures withPortInUseException: Port ... is already in use(e.g. inSpringDocApp147/SpringDocApp1451).Solution
app147management port from9287to the unused9301.app147-1.json,app147-2.json) accordingly.Verified: no duplicate hardcoded server/management ports remain across the repo, and both
springdoc-openapi-actuator-webmvc-testsandspringdoc-openapi-actuator-webflux-testspass locally.