Apply limits for Elasticsearch
6.5 has api changes that break our tests.
MODIFY
dd-java-agent/instrumentation/elasticsearch-transport-6/elasticsearch-transport-6.gradle
dd-java-agent/instrumentation/elasticsearch-transport-6/elasticsearch-transport-6.gradle
@@ -53,7 +53,7 @@ dependencies {
testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.0'
testCompile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.0'
- latestDepTestCompile group: 'org.elasticsearch.plugin', name: 'transport-netty4-client', version: '+'
- latestDepTestCompile group: 'org.elasticsearch.client', name: 'transport', version: '+'
- latestDepTestCompile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-client', version: '+'
+ // Limit tests to <6.5 as the latest versions have a breaking change for the tests.
+ latestDepTestCompile group: 'org.elasticsearch.plugin', name: 'transport-netty4-client', version: '(6.1,6.5)'
+ latestDepTestCompile group: 'org.elasticsearch.client', name: 'transport', version: '(6.1,6.5)'
}

Apply limits for Elasticsearch

6.5 has api changes that break our tests.