File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
dd-java-agent/testing/src/main/groovy/datadog/trace/agent/test Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -48,18 +48,18 @@ public class SpockRunner extends JUnitPlatform {
4848 "datadog.trace.util" ,
4949 };
5050
51+ private static final String [] TEST_EXCLUDED_BOOTSTRAP_PACKAGE_PREFIXES = {
52+ "ch.qos.logback.classic.servlet" , // this draws javax.servlet deps that are not needed
53+ };
54+
5155 private static final String [] TEST_BOOTSTRAP_PREFIXES ;
5256
5357 static {
5458 ByteBuddyAgent .install ();
5559 final String [] testBS = {
56- "org.slf4j" ,
57- "ch.qos.logback" ,
58- // Tomcat's servlet classes must be on boostrap
59- // when running tomcat test
60- "javax.servlet.ServletContainerInitializer" ,
61- "javax.servlet.ServletContext"
60+ "org.slf4j" , "ch.qos.logback" ,
6261 };
62+
6363 TEST_BOOTSTRAP_PREFIXES =
6464 Arrays .copyOf (
6565 BOOTSTRAP_PACKAGE_PREFIXES_COPY ,
You can’t perform that action at this time.
0 commit comments