Fix ES rest client latest dep tests by forcing 6.2.+ since our instrumentation doesnt work properly with 6.3.+
@@ -50,9 +50,14 @@ dependencies {
testCompile group: 'org.elasticsearch', name: 'elasticsearch', version: '5.0.0'
testCompile group: 'org.elasticsearch.plugin', name: 'transport-netty3-client', version: '5.0.0'
- latestDepTestCompile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-client', version: '+'
- latestDepTestCompile group: 'org.elasticsearch', name: 'elasticsearch', version: '6.+'
- latestDepTestCompile group: 'org.elasticsearch.plugin', name: 'transport-netty4-client', version: '+'
+ /*
+ We know that 6.3.+ Doesn't work because they've reworked relevant code.
+ See https://github.com/elastic/elasticsearch/commit/0be443c5bbd4c7eb5776740d8fb7117224124cce#diff-d5bb3520f960a753d8f8a3a2686dfd6b
+ Lock on 6.2.+ to fix tests.
+ */
+ latestDepTestCompile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-client', version: '6.2.+'
+ latestDepTestCompile group: 'org.elasticsearch', name: 'elasticsearch', version: '6.2.+'
+ latestDepTestCompile group: 'org.elasticsearch.plugin', name: 'transport-netty4-client', version: '6.2.+'
}
configurations.latestDepTestCompile {
