Revert to previous behavior for 7.0.2 (based on Boot/Data impact)

Preparing the revised behavior for 7.1 instead.

See gh-31456
This commit is contained in:
Juergen Hoeller
2025-12-11 15:37:41 +01:00
parent 1818161f58
commit e2c9dc7138
4 changed files with 19 additions and 3 deletions
@@ -252,7 +252,8 @@ public abstract class AbstractTestContextBootstrapper implements TestContextBoot
CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate) {
List<ContextConfigurationAttributes> defaultConfigAttributesList =
ContextLoaderUtils.resolveDefaultContextConfigurationAttributes(testClass);
Collections.singletonList(new ContextConfigurationAttributes(testClass));
// for 7.1: ContextLoaderUtils.resolveDefaultContextConfigurationAttributes(testClass);
ContextLoader contextLoader = resolveContextLoader(testClass, defaultConfigAttributesList);
if (logger.isTraceEnabled()) {