Log active span in test assert

This commit is contained in:
Nikolay Martynov 2019-01-18 12:04:08 -05:00
parent 63779c7816
commit e9745e6775
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}