<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 16, 2018 at 7:23 PM Pavol Loffay &lt;<a href="mailto:ploffay@redhat.com">ploffay@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div>The issue is that AsyncListener which reports tracing data is not being invoked. The listener is added in a servlet filter see <a href="https://github.com/opentracing-contrib/java-jaxrs/blob/master/opentracing-jaxrs2/src/main/java/io/opentracing/contrib/jaxrs2/server/SpanFinishingFilter.java#L68" target="_blank">https://github.com/opentracing-contrib/java-jaxrs/blob/master/opentracing-jaxrs2/src/main/java/io/opentracing/contrib/jaxrs2/server/SpanFinishingFilter.java#L68</a>.</div><div><br></div><div>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.</div></div></blockquote><div><br></div><div>Looking at this again I think this is a bug in Undertow. At the moment we don&#39;t really delay the async complete() call properly, I have re-opened to attached JIRA and will work on a fix.</div><div><br></div><div>Stuart</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>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].<br></div><div><br></div><div>[1]: <a href="https://github.com/smallrye/smallrye-opentracing/pull/4" target="_blank">https://github.com/smallrye/smallrye-opentracing/pull/4</a><br clear="all"><div><br></div><div>Regards,</div><div><br></div>-- <br><div dir="ltr" class="m_-5468384197794457709gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>PAVOL</span> <span>LOFFAY</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>SOFTWARE ENGINEER</span><span style="color:rgb(170,170,170);margin:0px"></span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat<span></span></a></p><p style="font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span>M: <a style="color:rgb(0,136,206);font-size:11px;margin:0px">+41791562647</a>    </span></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td></tr></tbody></table><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr></tr></tbody></table></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a></blockquote></div></div>