[undertow-dev] MicroProfile-OpenTracing failing async TCK - AsyncListener not being invoked

Pavol Loffay ploffay at redhat.com
Mon Jul 16 05:19:33 EDT 2018


Hi,

I am migrating MicroProfile-OpenTracing implementation from
Thorntaln/WF-Swarm to SmallRye [1]. We had all TCKs passing in Thorntail,
however now in SmallRye one test for async endpoint is failing.

The issue is that AsyncListener which reports tracing data is not being
invoked. The listener is added in a servlet filter see
https://github.com/opentracing-contrib/java-jaxrs/blob/master/opentracing-jaxrs2/src/main/java/io/opentracing/contrib/jaxrs2/server/SpanFinishingFilter.java#L68
.

Should be AsyncListener always invoked for async requests? Or is it just
undertow bug/ behavior? If the listener is not invoked tracing data is not
reported and hence failing TCK.

Tests in SmallRye are based on WF13 and resteasy 3.0.24.Final the Thorntail
uses the same resteasy version. The issue is also described on pull request
[1].

[1]: https://github.com/smallrye/smallrye-opentracing/pull/4

Regards,

-- 

PAVOL LOFFAY

SOFTWARE ENGINEER

Red Hat <https://www.redhat.com/>

M: +41791562647
<https://red.ht/sig>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20180716/cea16f75/attachment.html 


More information about the undertow-dev mailing list