Reset test tracer in TraceAnnotationsTest to pick new configs

This commit is contained in:
Luca Abbati 2019-06-05 18:52:25 +02:00
parent 057ca7b66e
commit b6572bfd55
No known key found for this signature in database
GPG Key ID: 74DBB952D9BA17F2
1 changed files with 1 additions and 1 deletions

View File

@ -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: