Fix tests that verify experimental span attributes (#2415)

Some of the modules that add experimental span attributes didn't have the flag turned on for tests, which caused them to fail.
This commit is contained in:
Mateusz Rzeszutek 2021-02-25 15:01:39 +01:00 committed by GitHub
parent e87cf37f63
commit 0949b7feee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 0 deletions

View File

@ -30,3 +30,8 @@ dependencies {
latestDepTestLibrary group: 'org.springframework.data', name: 'spring-data-couchbase', version: '3.1+'
latestDepTestLibrary group: 'com.couchbase.client', name: 'java-client', version: '2.+'
}
tasks.withType(Test) {
// TODO run tests both with and without experimental span attributes
jvmArgs "-Dotel.instrumentation.couchbase.experimental-span-attributes=true"
}

View File

@ -17,3 +17,8 @@ dependencies {
latestDepTestLibrary group: 'biz.paluch.redis', name: 'lettuce', version: '4.+'
}
tasks.withType(Test) {
// TODO run tests both with and without experimental span attributes
jvmArgs "-Dotel.instrumentation.lettuce.experimental-span-attributes=true"
}

View File

@ -18,3 +18,8 @@ dependencies {
testImplementation group: 'io.lettuce', name: 'lettuce-core', version: '5.0.0.RELEASE'
testInstrumentation project(':instrumentation:reactor-3.1:javaagent')
}
tasks.withType(Test) {
// TODO run tests both with and without experimental span attributes
jvmArgs "-Dotel.instrumentation.lettuce.experimental-span-attributes=true"
}

View File

@ -15,3 +15,8 @@ dependencies {
testImplementation deps.guava
testImplementation deps.testcontainers
}
tasks.withType(Test) {
// TODO run tests both with and without experimental span attributes
jvmArgs "-Dotel.instrumentation.spymemcached.experimental-span-attributes=true"
}