From 4b9396fc3d2569aa535fc4850038d3e1e7009201 Mon Sep 17 00:00:00 2001 From: Vasily Pelikh <2010720+vpelikh@users.noreply.github.com> Date: Thu, 13 Aug 2026 13:19:21 +0300 Subject: [PATCH] Fix management port collision in springdoc-openapi-actuator-webflux-tests 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. --- .../test/org/springdoc/api/v30/app147/SpringDocApp147Test.java | 2 +- .../src/test/resources/results/3.0.1/app147-1.json | 2 +- .../src/test/resources/results/3.0.1/app147-2.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/java/test/org/springdoc/api/v30/app147/SpringDocApp147Test.java b/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/java/test/org/springdoc/api/v30/app147/SpringDocApp147Test.java index 7940b754bc..1552c3d834 100644 --- a/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/java/test/org/springdoc/api/v30/app147/SpringDocApp147Test.java +++ b/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/java/test/org/springdoc/api/v30/app147/SpringDocApp147Test.java @@ -30,7 +30,7 @@ properties = { "management.endpoints.web.exposure.include=*", "springdoc.show-actuator=true", "management.endpoints.web.exposure.exclude=functions, shutdown", - "management.server.port=9287", + "management.server.port=9301", "management.server.base-path=/test", "management.endpoints.web.base-path=/application" }) public class SpringDocApp147Test extends AbstractSpringDocActuatorTest { diff --git a/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/3.0.1/app147-1.json b/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/3.0.1/app147-1.json index defa8dc0ff..b4baf6e602 100644 --- a/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/3.0.1/app147-1.json +++ b/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/3.0.1/app147-1.json @@ -6,7 +6,7 @@ }, "servers": [ { - "url": "http://localhost:9287/test", + "url": "http://localhost:9301/test", "description": "Generated server url" } ], diff --git a/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/3.0.1/app147-2.json b/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/3.0.1/app147-2.json index defa8dc0ff..b4baf6e602 100644 --- a/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/3.0.1/app147-2.json +++ b/springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/3.0.1/app147-2.json @@ -6,7 +6,7 @@ }, "servers": [ { - "url": "http://localhost:9287/test", + "url": "http://localhost:9301/test", "description": "Generated server url" } ],