Reset test tracer in TraceAnnotationsTest to pick new configs
MODIFY
dd-java-agent/instrumentation/trace-annotation/src/test/groovy/TraceAnnotationsTest.groovy
dd-java-agent/instrumentation/trace-annotation/src/test/groovy/TraceAnnotationsTest.groovy
@@ -13,12 +13,12 @@ class TraceAnnotationsTest extends AgentTestRunner {
ConfigUtils.makeConfigInstanceModifiable()
System.clearProperty("dd.trace.annotations")
ConfigUtils.resetConfig(true)
+ refreshTestTracer()
}
def "test simple case annotations"() {
setup:
// Test single span in new trace
- ConfigUtils.resetConfig(true)
SayTracedHello.sayHello()
expect:

Reset test tracer in TraceAnnotationsTest to pick new configs