Provide Micrometer's observation test with micrometer test modules

Closes gh-48386
This commit is contained in:
Stéphane Nicoll
2025-12-27 10:05:32 +01:00
parent 9b7451ed9d
commit 2c55ccfa7f
3 changed files with 3 additions and 2 deletions
@@ -27,6 +27,7 @@ description = "Spring Boot Micrometer Metrics Test"
dependencies {
api(project(":core:spring-boot-test-autoconfigure"))
api(project(":module:spring-boot-micrometer-metrics"))
api("io.micrometer:micrometer-observation-test")
optional(project(":core:spring-boot-autoconfigure"))
optional("org.junit.jupiter:junit-jupiter-api")
@@ -27,6 +27,7 @@ description = "Spring Boot Micrometer Tracing Test"
dependencies {
api(project(":core:spring-boot-test-autoconfigure"))
api(project(":module:spring-boot-micrometer-tracing"))
api("io.micrometer:micrometer-observation-test")
optional(project(":core:spring-boot-autoconfigure"))
optional("org.junit.jupiter:junit-jupiter-api")
+1 -2
View File
@@ -36,10 +36,9 @@ dependencies {
optional("org.eclipse.jetty:jetty-client")
testImplementation(project(":core:spring-boot-test"))
testImplementation(project(":module:spring-boot-micrometer-metrics"))
testImplementation(project(":module:spring-boot-micrometer-metrics-test"))
testImplementation(project(":module:spring-boot-tomcat"))
testImplementation(project(":test-support:spring-boot-test-support"))
testImplementation("io.micrometer:micrometer-observation-test")
testRuntimeOnly("ch.qos.logback:logback-classic")
testRuntimeOnly("jakarta.servlet:jakarta.servlet-api")