Skip to content

main application.yaml overrides test application.properties #24719

@alexalbr

Description

@alexalbr

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 active

demo.zip

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions