Skip to content

Commit 3db6fbc

Browse files
committed
limit java version
1 parent 9bb974f commit 3db6fbc

File tree

1 file changed

+7
-0
lines changed
  • instrumentation/elasticsearch/elasticsearch-transport-5.3/javaagent

1 file changed

+7
-0
lines changed

instrumentation/elasticsearch/elasticsearch-transport-5.3/javaagent/build.gradle.kts

+7
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ muzzle {
2828
}
2929
}
3030

31+
if (findProperty("testLatestDeps") as Boolean) {
32+
// when running on jdk 21 Elasticsearch53SpringRepositoryTest occasionally fails with timeout
33+
otelJava {
34+
maxJavaVersionSupported.set(JavaVersion.VERSION_17)
35+
}
36+
}
37+
3138
dependencies {
3239
compileOnly("org.elasticsearch.client:transport:5.3.0") {
3340
isTransitive = false

0 commit comments

Comments
 (0)