Limit RxJava3 muzzle check version range (#4022)
This commit is contained in:
parent
dbf66c5648
commit
1363e0c093
|
@ -6,16 +6,11 @@ muzzle {
|
|||
pass {
|
||||
group.set("io.reactivex.rxjava3")
|
||||
module.set("rxjava")
|
||||
versions.set("[3.0.0,)")
|
||||
versions.set("[3.0.0,3.1.0]")
|
||||
assertInverse.set(true)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
// TODO run tests both with and without experimental span attributes
|
||||
jvmArgs("-Dotel.instrumentation.rxjava.experimental-span-attributes=true")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
library("io.reactivex.rxjava3:rxjava:3.0.0")
|
||||
compileOnly(project(":instrumentation-api-annotation-support"))
|
||||
|
@ -27,5 +22,8 @@ dependencies {
|
|||
}
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
// TODO run tests both with and without experimental span attributes
|
||||
jvmArgs("-Dotel.instrumentation.rxjava.experimental-span-attributes=true")
|
||||
|
||||
jvmArgs("-Dio.opentelemetry.javaagent.shaded.io.opentelemetry.context.enableStrictContext=false")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue