Skip to content

Commit 3b36eb8

Browse files
committed
fix rum injection for regular test
1 parent a86bb9d commit 3b36eb8

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

dd-java-agent/instrumentation/spring/spring-webmvc/spring-webmvc-3.1/src/test/groovy/test/boot/SpringBootBasedTest.groovy

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,6 @@ class SpringBootBasedTest extends HttpServerTest<ConfigurableApplicationContext>
144144
true
145145
}
146146

147-
@Override
148-
boolean testRumInjection() {
149-
true
150-
}
151-
152147
@Override
153148
void assertEndpointDiscovery(final List<?> endpoints) {
154149
final discovered = endpoints.collectEntries { [(it.method): it] } as Map<String, Endpoint>
@@ -604,3 +599,10 @@ class SpringBootBasedTest extends HttpServerTest<ConfigurableApplicationContext>
604599
}
605600
}
606601
}
602+
603+
class SpringBootRumInjectionForkedTest extends SpringBootBasedTest {
604+
@Override
605+
boolean testRumInjection() {
606+
true
607+
}
608+
}

0 commit comments

Comments
 (0)