Cleaning up gradle file
After seeing the existing elasticsearch 5.3 spring data test, I decided to extend that instead.
However, I do think we need to revisit the best place for tests involving multiple pieces of instrumentation.
MODIFY
dd-java-agent/instrumentation/spring-data-1.9/spring-data-1.9.gradle
dd-java-agent/instrumentation/spring-data-1.9/spring-data-1.9.gradle
@@ -28,10 +28,10 @@ dependencies {
compileOnly(group: 'org.springframework', name: 'spring-aop', version: '3.0.0.RELEASE')
testCompile group: 'org.spockframework', name: 'spock-spring', version: "$versions.spock"
+ testCompile group: 'org.springframework', name: 'spring-test', version: '3.0.0.RELEASE'
// JPA dependencies
testCompile project(':dd-java-agent:instrumentation:jdbc')
- testCompile group: 'org.springframework', name: 'spring-test', version: '3.0.0.RELEASE'
testCompile group: 'org.springframework.data', name: 'spring-data-jpa', version: '1.7.0.RELEASE'
testCompile group: 'com.mysema.querydsl', name: 'querydsl-jpa', version: '3.7.4'
testCompile group: 'org.hsqldb', name: 'hsqldb', version: '2.0.0'
@@ -39,9 +39,9 @@ dependencies {
latestDepTestCompile group: 'org.springframework', name: 'spring-test', version: '+'
latestDepTestCompile group: 'org.springframework', name: 'spring-context', version: '+'
+
latestDepTestCompile group: 'org.springframework.data', name: 'spring-data-commons', version: '1.9.+'
latestDepTestCompile group: 'org.springframework', name: 'spring-aop', version: '+'
latestDepTestCompile group: 'org.springframework.data', name: 'spring-data-jpa', version: '1.7.+'
- latestDepTestCompile group: 'org.springframework.data', name: 'spring-data-elasticsearch', version: '1.1.+'
}

Cleaning up gradle file

After seeing the existing elasticsearch 5.3 spring data test, I decided to extend that instead.

However, I do think we need to revisit the best place for tests involving multiple pieces of instrumentation.