From 911c4a4326db5a411b1fc2643a6696a471c1929e Mon Sep 17 00:00:00 2001 From: ohchanKyu Date: Sat, 12 Sep 2026 13:46:10 +0900 Subject: [PATCH] Fix documented default of spring.test.database.replace The default of @AutoConfigureTestDatabase's replace attribute changed from ANY to NON_TEST in 3.4 but the manually declared metadata for spring.test.database.replace still advertised "any" as the default. See gh-51709 Signed-off-by: ohchanKyu --- .../META-INF/additional-spring-configuration-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/spring-boot-jdbc-test/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-jdbc-test/src/main/resources/META-INF/additional-spring-configuration-metadata.json index b2266bdbd07..92376c3ab12 100644 --- a/module/spring-boot-jdbc-test/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-jdbc-test/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -4,7 +4,7 @@ "name": "spring.test.database.replace", "type": "org.springframework.boot.jdbc.test.autoconfigure.AutoConfigureTestDatabase$Replace", "description": "Type of existing DataSource to replace.", - "defaultValue": "any" + "defaultValue": "non-test" } ] }