-
Notifications
You must be signed in to change notification settings - Fork 873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support RESTeasy 4.0 version in unit tests #1082
Conversation
aa118db
to
67018d6
Compare
496c5ae
to
6bd67fb
Compare
ea9d277
to
0603649
Compare
Can you explain this a little more? I haven't noticed 4.0 version in any changed files :) |
Sure! RESTeasy changed their module naming scheme in 4.0: before it was always named latestDepTestLibrary group: 'org.jboss.resteasy', name: 'resteasy-core', version: '+'
}
if (findProperty('testLatestDeps')) {
configurations {
testImplementation.exclude group: 'org.jboss.resteasy', module: 'resteasy-jaxrs'
}
} where for the |
0603649
to
068ccae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍 One small question below.
.../io/opentelemetry/instrumentation/auto/jaxrs/v2_0/AbstractRequestContextInstrumentation.java
Show resolved
Hide resolved
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.1/jaxrs-2.0-resteasy-3.1.gradle
Show resolved
Hide resolved
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.1/jaxrs-2.0-resteasy-3.1.gradle
Show resolved
Hide resolved
* Split jaxrs-2.0 into jaxrs-2.0-common and jaxrs-2.0-testing (similar to e.g. play) * Support newest RESTEasy version in unit tests
Co-authored-by: Trask Stalnaker <[email protected]>
c4a4b5c
to
6639bae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
SpanWithScope
usagesThis PR can only be merged after #1083 is solved (#1167 merged) -- before that happens
./gradlew :instrumentation:jaxrs:jaxrs-2.0:jaxrs-2.0-resteasy-3.1:test -PtestLatestDeps=true
will always fail.