Skip to content

Fix management port collision in actuator-webflux app147 test - #74

Merged
vpelikh merged 1 commit into
mainfrom
fix/ci-failures
Aug 13, 2026
Merged

Fix management port collision in actuator-webflux app147 test#74
vpelikh merged 1 commit into
mainfrom
fix/ci-failures

Conversation

@vpelikh

@vpelikh vpelikh commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Problem

The springdoc-openapi-actuator-webmvc-tests and springdoc-openapi-actuator-webflux-tests app147 tests both hardcode management.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 port 9287, causing intermittent CI failures with PortInUseException: Port ... is already in use (e.g. in SpringDocApp147/SpringDocApp1451).

Solution

  • Change the webflux app147 management port from 9287 to the unused 9301.
  • Update the two expected OpenAPI result JSON files (app147-1.json, app147-2.json) accordingly.

Verified: no duplicate hardcoded server/management ports remain across the repo, and both springdoc-openapi-actuator-webmvc-tests and springdoc-openapi-actuator-webflux-tests pass locally.

…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
vpelikh merged commit f3f41b7 into main Aug 13, 2026
6 checks passed
@vpelikh
vpelikh deleted the fix/ci-failures branch August 13, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant