Note that for some reason, one test is still failing, i.e.
testNoActiveSpan FAILED
{traceId:1, spanId:2, parentId:0, operationName:"one"} did not equal null (TracedExecutionContextTest.scala:75)
For some reason the testPropagation test is leaving over the span and its not getting reset by mockTracer.reset(), do you have any idea what could be going on here?
From the PR here https://github.com/opentracing-contrib/scala-concurrent/pull/7 it appears that in some cases
MockTracer.reset()
doesn't appear to clear all spans, quoting the PR.You can use
mvn:test
to reproduce the problem.