Skip to content

Commit 5381461

Browse files
committed
Apply limits for Elasticsearch
6.5 has api changes that break our tests.
1 parent b58b54d commit 5381461

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dd-java-agent/instrumentation/elasticsearch-transport-6/elasticsearch-transport-6.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ dependencies {
5353
testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.0'
5454
testCompile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.0'
5555

56-
latestDepTestCompile group: 'org.elasticsearch.plugin', name: 'transport-netty4-client', version: '+'
57-
latestDepTestCompile group: 'org.elasticsearch.client', name: 'transport', version: '+'
58-
latestDepTestCompile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-client', version: '+'
56+
// Limit tests to <6.5 as the latest versions have a breaking change for the tests.
57+
latestDepTestCompile group: 'org.elasticsearch.plugin', name: 'transport-netty4-client', version: '(6.1,6.5)'
58+
latestDepTestCompile group: 'org.elasticsearch.client', name: 'transport', version: '(6.1,6.5)'
5959
}

0 commit comments

Comments
 (0)