New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main application.yaml overrides test application.properties #24719
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Jan 10, 2021
mbhave
added
type: bug
A general bug
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Jan 11, 2021
Thanks for the sample @alexalbr. The order in which |
wilkinsona
added
type: regression
A regression from a previous release
type: bug
A general bug
and removed
type: bug
A general bug
type: regression
A regression from a previous release
labels
Jan 12, 2021
mbhave
added
type: regression
A regression from a previous release
and removed
type: bug
A general bug
labels
Jan 12, 2021
mbhave
added
the
for: team-meeting
An issue we'd like to discuss as a team to make progress
label
Jan 12, 2021
Duplicate #24497 |
philwebb
removed
the
for: team-meeting
An issue we'd like to discuss as a team to make progress
label
Jan 13, 2021
mbhave
added a commit
to mbhave/spring-boot
that referenced
this issue
Jan 13, 2021
andymarke
added a commit
to ministryofjustice/community-api
that referenced
this issue
Feb 16, 2021
mikehalmamoj
pushed a commit
to ministryofjustice/community-api
that referenced
this issue
Feb 16, 2021
minwoox
added a commit
to minwoox/armeria
that referenced
this issue
May 26, 2023
Motivation: When we upgrade to Spring Boot 2.4, we used `spring.config.use-legacy-processing` property because main application.yml overrides the yaml files in test. However, it was a bug and fixed. spring-projects/spring-boot#24719 Therefore, we don't have to use `spring.config.use-legacy-processing` anymore. Modifications: - Remove `spring.config.use-legacy-processing` property Result: - Close line#4899
ikhoon
pushed a commit
to line/armeria
that referenced
this issue
Jun 2, 2023
Motivation: When we upgrade to Spring Boot 2.4, we used `spring.config.use-legacy-processing` property because main application.yml overrides the yaml files in the test. However, it was a bug and was fixed. spring-projects/spring-boot#24719 Therefore, we don't have to use `spring.config.use-legacy-processing` anymore. Modifications: - Remove `spring.config.use-legacy-processing` property Result: - Close #4899
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since Spring Boot 2.4 values in test application.properties are not used, if the same property exists in an application.yaml file in the main directory.
The attached demo project shows the issue. It works as expected when the
spring.config.use-legacy-processing=true
property is activedemo.zip
The text was updated successfully, but these errors were encountered: