Skip to content

Re-enable lifecycle MVC endpoint tests#1707

Merged
ryanjbaxter merged 1 commit into
spring-cloud:mainfrom
hutiefang76:codex/fix-lifecycle-structured-logging
Jun 23, 2026
Merged

Re-enable lifecycle MVC endpoint tests#1707
ryanjbaxter merged 1 commit into
spring-cloud:mainfrom
hutiefang76:codex/fix-lifecycle-structured-logging

Conversation

@hutiefang76

Copy link
Copy Markdown

This re-enables two LifecycleMvcAutoConfigurationTests methods that were still disabled for gh-1520.

On current main, both disabled checks now pass with the current Spring Boot baseline, so the regression coverage can be restored:

  • environmentWebEndpointExtensionDisabled
  • restartEndpointDisabled

Validation:

JAVA_HOME=$(/usr/libexec/java_home -v 17) ./mvnw -pl spring-cloud-context -Dtest=LifecycleMvcAutoConfigurationTests test

Result: 14 tests run, 0 failures, 0 errors, 3 skipped.

Fixes gh-1520

Fixes spring-cloudgh-1520

Signed-off-by: hutiefang <hutiefang@qq.com>
@hutiefang76 hutiefang76 force-pushed the codex/fix-lifecycle-structured-logging branch from 06faa2b to 3bd950e Compare June 23, 2026 01:42
@github-project-automation github-project-automation Bot moved this to Todo in 2025.1.3 Jun 23, 2026
@ryanjbaxter ryanjbaxter added this to the 5.0.3 milestone Jun 23, 2026
@ryanjbaxter ryanjbaxter merged commit 7488608 into spring-cloud:main Jun 23, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in 2025.1.3 Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Test failure in LifecycleMvcAutoConfigurationTests.environmentWebEndpointExtensionDisabled()

3 participants