Log active span in test assert
MODIFY
dd-java-agent/testing/src/main/groovy/datadog/trace/agent/test/AgentTestRunner.java
dd-java-agent/testing/src/main/groovy/datadog/trace/agent/test/AgentTestRunner.java
@@ -159,7 +159,8 @@ public abstract class AgentTestRunner extends Specification {
@Before
public void beforeTest() {
- assert getTestTracer().activeSpan() == null : "Span is active before test has started";
+ assert getTestTracer().activeSpan() == null
+ : "Span is active before test has started: " + getTestTracer().activeSpan();
TEST_WRITER.start();
}

Log active span in test assert