From e077ee97c366b451dee6c6a031530197ce6379d7 Mon Sep 17 00:00:00 2001 From: Santiago Mola Date: Fri, 15 Nov 2024 12:59:58 +0100 Subject: [PATCH] add spring boot dep tests --- .../src/test/groovy/SpringBootWebmvcIntegrationTest.groovy | 5 +++++ .../src/test/groovy/SpringBootWebmvcIntegrationTest.groovy | 5 +++++ .../src/test/groovy/SpringBootWebmvcIntegrationTest.groovy | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/dd-smoke-tests/spring-boot-2.3-webmvc-jetty/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy b/dd-smoke-tests/spring-boot-2.3-webmvc-jetty/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy index 04fe5a66951..297b44bf382 100644 --- a/dd-smoke-tests/spring-boot-2.3-webmvc-jetty/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy +++ b/dd-smoke-tests/spring-boot-2.3-webmvc-jetty/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy @@ -86,4 +86,9 @@ class SpringBootWebmvcIntegrationTest extends AbstractServerSmokeTest { response.code() == 404 waitForTraceCount(1) } + + @Override + List expectedTelemetryDependencies() { + ['org.eclipse.jetty:jetty-client'] + } } diff --git a/dd-smoke-tests/spring-boot-3.0-webmvc/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy b/dd-smoke-tests/spring-boot-3.0-webmvc/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy index e1be966627a..362a365a00f 100644 --- a/dd-smoke-tests/spring-boot-3.0-webmvc/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy +++ b/dd-smoke-tests/spring-boot-3.0-webmvc/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy @@ -78,4 +78,9 @@ class SpringBootWebmvcIntegrationTest extends AbstractServerSmokeTest { responseBodyStr.contains("banana") waitForTraceCount(1) } + + @Override + List expectedTelemetryDependencies() { + ['spring-core'] + } } diff --git a/dd-smoke-tests/spring-boot-3.3-webmvc/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy b/dd-smoke-tests/spring-boot-3.3-webmvc/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy index e1be966627a..362a365a00f 100644 --- a/dd-smoke-tests/spring-boot-3.3-webmvc/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy +++ b/dd-smoke-tests/spring-boot-3.3-webmvc/src/test/groovy/SpringBootWebmvcIntegrationTest.groovy @@ -78,4 +78,9 @@ class SpringBootWebmvcIntegrationTest extends AbstractServerSmokeTest { responseBodyStr.contains("banana") waitForTraceCount(1) } + + @Override + List expectedTelemetryDependencies() { + ['spring-core'] + } }