Do not check ES document version in Sping test
ES may do things that change this version unexpectedly
MODIFY
dd-java-agent/instrumentation/elasticsearch-transport-5.3/src/test/groovy/springdata/Elasticsearch53SpringRepositoryTest.groovy
dd-java-agent/instrumentation/elasticsearch-transport-5.3/src/test/groovy/springdata/Elasticsearch53SpringRepositoryTest.groovy
@@ -135,7 +135,7 @@ class Elasticsearch53SpringRepositoryTest extends AgentTestRunner {
"elasticsearch.request.indices" indexName
"elasticsearch.type" "doc"
"elasticsearch.id" "1"
- "elasticsearch.version" 3
+ "elasticsearch.version" Number
defaultTags()
}
}
@@ -208,7 +208,7 @@ class Elasticsearch53SpringRepositoryTest extends AgentTestRunner {
"elasticsearch.request.indices" indexName
"elasticsearch.type" "doc"
"elasticsearch.id" "1"
- "elasticsearch.version" 4
+ "elasticsearch.version" Number
defaultTags()
}
}

Do not check ES document version in Sping test

ES may do things that change this version unexpectedly