Skip to content

Commit 548f1c9

Browse files
committed
fix(core): Move async propagation API from scope to tracer
1 parent 9b773f6 commit 548f1c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dd-trace-core/src/test/groovy/datadog/trace/core/scopemanager/ScopeManagerTest.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,16 +252,16 @@ class ScopeManagerTest extends DDCoreSpecification {
252252

253253
def "DDScope only creates continuations when propagation is set"() {
254254
when:
255-
def span = tracer.buildSpan("test").start()
255+
def span = tracer.buildSpan("test", "test").start()
256256
def scope = tracer.activateSpan(span)
257-
setAsyncPropagation(false)
257+
tracer.setAsyncPropagation(false)
258258
def continuation = concurrent ? scope.captureConcurrent() : scope.capture()
259259

260260
then:
261261
continuation == null
262262

263263
when:
264-
setAsyncPropagation(true)
264+
tracer.setAsyncPropagation(true)
265265
continuation = concurrent ? scope.captureConcurrent() : scope.capture()
266266

267267
then:

0 commit comments

Comments
 (0)