File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
instrumentation/spring/spring-kafka-2.7/javaagent Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,6 @@ testing {
5151 targets {
5252 all {
5353 testTask.configure {
54- usesService(gradle.sharedServices.registrations[" testcontainersBuildService" ].service)
55-
5654 jvmArgs(" -Dotel.instrumentation.kafka.experimental-span-attributes=false" )
5755 jvmArgs(" -Dotel.instrumentation.messaging.experimental.receive-telemetry.enabled=false" )
5856
@@ -65,10 +63,12 @@ testing {
6563}
6664
6765tasks {
68- test {
66+ withType< Test >().configureEach {
6967 usesService(gradle.sharedServices.registrations[" testcontainersBuildService" ].service)
68+ systemProperty(" testLatestDeps" , latestDepTest)
69+ }
7070
71- systemProperty( " testLatestDeps " , findProperty( " testLatestDeps " ) as Boolean )
71+ test {
7272 jvmArgs(" -Dotel.instrumentation.kafka.experimental-span-attributes=true" )
7373 jvmArgs(" -Dotel.instrumentation.messaging.experimental.receive-telemetry.enabled=true" )
7474
You can’t perform that action at this time.
0 commit comments