Skip to content

Commit cf7ebd1

Browse files
committed
Disambiguating call to ExtractedContext constructor
1 parent dc9b8a1 commit cf7ebd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dd-java-agent/instrumentation/websocket/javax-websocket-1.0/src/test/groovy/WebsocketTest.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import datadog.trace.agent.test.AgentTestRunner
22
import datadog.trace.api.DDTags
3+
import datadog.trace.api.TagMap
34
import datadog.trace.api.sampling.PrioritySampling
45
import datadog.trace.bootstrap.instrumentation.api.AgentSpan
56
import datadog.trace.bootstrap.instrumentation.api.InstrumentationTags
@@ -584,7 +585,7 @@ class WebsocketTest extends AgentTestRunner {
584585
clientHandshake.setSamplingPriority(PrioritySampling.SAMPLER_DROP) // simulate sampler drop
585586
def serverHandshake = createHandshakeSpan("servlet.request", url,
586587
new ExtractedContext(clientHandshake.context().getTraceId(), clientHandshake.context().getSpanId(), clientHandshake.context().getSamplingPriority(),
587-
"test", 0, ["example_baggage": "test"], null, null, null, null, null)) // simulate server span
588+
"test", 0, ["example_baggage": "test"], TagMap.EMPTY, null, null, null, null)) // simulate server span
588589
def session = deployEndpointAndConnect(new Endpoints.TestEndpoint(new Endpoints.FullStringHandler()),
589590
clientHandshake, serverHandshake, url)
590591

0 commit comments

Comments
 (0)