Skip to content

Commit a042d5f

Browse files
committed
fix jdbc
1 parent 2a0f709 commit a042d5f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

instrumentation/jdbc/javaagent/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ tasks {
9090
test {
9191
filter {
9292
excludeTestsMatching("SlickTest")
93+
excludeTestsMatching("PreparedStatementParametersTest")
9394
}
9495
jvmArgs("-Dotel.instrumentation.jdbc-datasource.enabled=true")
9596
}
@@ -98,3 +99,10 @@ tasks {
9899
dependsOn(testSlick, testStableSemconv, testSlickStableSemconv)
99100
}
100101
}
102+
103+
tasks {
104+
withType<Test>().configureEach {
105+
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
106+
jvmArgs("-Dotel.instrumentation.jdbc.experimental.transaction.enabled=true")
107+
}
108+
}

0 commit comments

Comments
 (0)