mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
644731c9f6
The Spring TestContext Framework does not honor the `spring.profiles.active` system property when determining active profiles for a test class if @ActiveProfiles is used. This commit documents that behavior in the @ActiveProfiles and DefaultActiveProfilesResolver Javadoc, as well as in the reference manual. A SystemPropertyActiveProfilesResolver example is also added showing how to allow `spring.profiles.active` to override @ActiveProfiles. See gh-36269 Closes gh-36600 Signed-off-by: Mohak Nagaraju <98132980+Mohak-Nagaraju@users.noreply.github.com>