Disable strict context check for mongo4 tests (#4336)

* Disable strict context check for mongo4 tests

* spotless
This commit is contained in:
Lauri Tulmin 2021-10-09 19:54:24 +03:00 committed by GitHub
parent 354699647a
commit 344c74a02d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -26,5 +26,8 @@ dependencies {
tasks {
test {
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
if (findProperty("testLatestDeps") as Boolean) {
jvmArgs("-Dio.opentelemetry.javaagent.shaded.io.opentelemetry.context.enableStrictContext=false")
}
}
}