diff --git a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-common/testing/src/main/groovy/JaxRsHttpServerTest.groovy b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-common/testing/src/main/groovy/JaxRsHttpServerTest.groovy index 4a1da98691..e5a41a42c8 100644 --- a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-common/testing/src/main/groovy/JaxRsHttpServerTest.groovy +++ b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-common/testing/src/main/groovy/JaxRsHttpServerTest.groovy @@ -221,7 +221,7 @@ abstract class JaxRsHttpServerTest extends HttpServerTest implements Agent false } - private static boolean shouldTestCompletableStageAsync() { + boolean shouldTestCompletableStageAsync() { Boolean.getBoolean("testLatestDeps") } diff --git a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts index 0e1cfb257f..f930812459 100644 --- a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts +++ b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts @@ -43,9 +43,9 @@ dependencies { testLibrary("io.undertow:undertow-servlet:1.4.28.Final") testLibrary("org.jboss.resteasy:resteasy-servlet-initializer:3.0.4.Final") - latestDepTestLibrary("org.jboss.resteasy:resteasy-servlet-initializer:5.+") - latestDepTestLibrary("org.jboss.resteasy:resteasy-jaxrs:3.+") - latestDepTestLibrary("org.jboss.resteasy:resteasy-undertow:3.+") { + latestDepTestLibrary("org.jboss.resteasy:resteasy-servlet-initializer:3.0.+") + latestDepTestLibrary("org.jboss.resteasy:resteasy-jaxrs:3.0.+") + latestDepTestLibrary("org.jboss.resteasy:resteasy-undertow:3.0.+") { exclude("org.jboss.resteasy", "resteasy-client") } } diff --git a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyHttpServerTest.groovy b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyHttpServerTest.groovy index c16d3b030d..9788b34eb7 100644 --- a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyHttpServerTest.groovy +++ b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyHttpServerTest.groovy @@ -27,4 +27,9 @@ class ResteasyHttpServerTest extends JaxRsHttpServerTest { void stopServer(UndertowJaxrsServer server) { server.stop() } + + // resteasy 3.0.x does not support JAX-RS 2.1 + boolean shouldTestCompletableStageAsync() { + false + } } \ No newline at end of file diff --git a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyJettyHttpServerTest.groovy b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyJettyHttpServerTest.groovy index f856fdbc78..c4fd8279f6 100644 --- a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyJettyHttpServerTest.groovy +++ b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/src/test/groovy/ResteasyJettyHttpServerTest.groovy @@ -5,4 +5,8 @@ class ResteasyJettyHttpServerTest extends JaxRsJettyHttpServerTest { + // resteasy 3.0.x does not support JAX-RS 2.1 + boolean shouldTestCompletableStageAsync() { + false + } } \ No newline at end of file