File tree Expand file tree Collapse file tree
instrumentation/spring/spring-data/spring-data-3.0/testing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,13 +50,16 @@ tasks {
5050 jvmArgs(" -Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true" )
5151 }
5252
53- val testStableSemconv by registering(Test ::class ) {
54- testClassesDirs = sourceSets.test.get().output.classesDirs
55- classpath = sourceSets.test.get().runtimeClasspath
56- jvmArgs(" -Dotel.semconv-stability.opt-in=database" )
53+ val stableSemconvSuites = testing.suites.withType(JvmTestSuite ::class ).map { suite ->
54+ register<Test >(" ${suite.name} StableSemconv" ) {
55+ testClassesDirs = suite.sources.output.classesDirs
56+ classpath = suite.sources.runtimeClasspath
57+
58+ jvmArgs(" -Dotel.semconv-stability.opt-in=database" )
59+ }
5760 }
5861
5962 check {
60- dependsOn(testing.suites, testStableSemconv )
63+ dependsOn(testing.suites, stableSemconvSuites )
6164 }
6265}
You can’t perform that action at this time.
0 commit comments