Temporary fix for testLatestDeps failure
Tracking issues to fix for real:
MODIFY
instrumentation/mongo/mongo-4.0/javaagent/build.gradle.kts
instrumentation/mongo/mongo-4.0/javaagent/build.gradle.kts
@@ -25,10 +25,14 @@ dependencies {
testInstrumentation(project(":instrumentation:mongo:mongo-async-3.3:javaagent"))
testInstrumentation(project(":instrumentation:mongo:mongo-3.1:javaagent"))
testInstrumentation(project(":instrumentation:mongo:mongo-3.7:javaagent"))
+
+ latestDepTestLibrary("org.mongodb:mongodb-driver-core:4.7.+")
+ latestDepTestLibrary("org.mongodb:mongodb-driver-sync:4.7.+")
+ latestDepTestLibrary("org.mongodb:mongodb-driver-reactivestreams:4.7.+")
}
tasks {
test {
- usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
+ usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)
}
}

MODIFY
instrumentation/tomcat/tomcat-10.0/javaagent/build.gradle.kts
instrumentation/tomcat/tomcat-10.0/javaagent/build.gradle.kts
@@ -17,6 +17,8 @@ dependencies {
library("org.apache.tomcat.embed:tomcat-embed-core:10.0.0")
+ latestDepTestLibrary("org.apache.tomcat.embed:tomcat-embed-core:10.1.1")
+
// Make sure nothing breaks due to both 7.0 and 10.0 modules being present together
testInstrumentation(project(":instrumentation:tomcat:tomcat-7.0:javaagent"))
}

Temporary fix for testLatestDeps failure (#7169)

Tracking issues to fix for real: #7170, #7171