Skip to content

Commit

Permalink
Fix missing header maps
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahchen6 committed Dec 18, 2024
1 parent 4cdc4d4 commit ec51de9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ abstract class OkHttp2AsyncTest extends OkHttp2Test {
def captured = AgentTracer.noopSpan()
try {
TraceUtils.runUnderTrace("parent", {
doRequest(method, url, ["Datadog-Meta-Lang": "java"], "", { captured = AgentTracer.activeSpan() })
doRequest(method, url, [["Datadog-Meta-Lang", "java"]], "", { captured = AgentTracer.activeSpan() })
})
} catch (Exception e) {
assert error == true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ abstract class OkHttp3AsyncTest extends OkHttp3Test {
def captured = AgentTracer.noopSpan()
try {
TraceUtils.runUnderTrace("parent", {
doRequest(method, url, ["Datadog-Meta-Lang": "java"], "", { captured = AgentTracer.activeSpan() })
doRequest(method, url, [["Datadog-Meta-Lang", "java"]], "", { captured = AgentTracer.activeSpan() })
})
} catch (Exception e) {
assert error == true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class VertxHttpClientForkedTest extends HttpClientTest implements TestingNettyHt

def "handle timeout"() {
when:
def status = doRequest(method, url, [:], "", null, timeout)
def status = doRequest(method, url, [], "", null, timeout)

then:
status == 0
Expand Down

0 comments on commit ec51de9

Please sign in to comment.