Skip to content

Commit 618e378

Browse files
committed
fix missing test suite definition for mongo-4.0
1 parent fa824f4 commit 618e378

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

instrumentation/mongo/mongo-4.0/javaagent/build.gradle.kts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,20 @@ dependencies {
2929
testInstrumentation(project(":instrumentation:mongo:mongo-3.7:javaagent"))
3030
}
3131

32+
testing {
33+
suites {
34+
val testStableSemconv by registering(JvmTestSuite::class) {
35+
targets {
36+
all {
37+
testTask.configure {
38+
jvmArgs("-Dotel.semconv-stability.opt-in=database")
39+
}
40+
}
41+
}
42+
}
43+
}
44+
}
45+
3246
tasks {
3347
withType<Test>().configureEach {
3448
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)

0 commit comments

Comments
 (0)