Skip to content

Commit

Permalink
fix baggage test
Browse files Browse the repository at this point in the history
open-telemetry/opentelemetry-go#3226 fixed the behavior of baggage.NewMember to be W3C compliant, which now decodes the value
  • Loading branch information
vreynolds committed Oct 26, 2022
1 parent dc4d390 commit 02f2744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baggage_span_processor_test.go
Expand Up @@ -68,6 +68,6 @@ func TestBaggageSpanProcessorAppendsBaggageAttributes(t *testing.T) {

for _, attr := range exporter.spans[0].Attributes() {
assert.Equal(t, attribute.Key("baggage.test"), attr.Key)
assert.Equal(t, url.QueryEscape("baggage value"), attr.Value.AsString())
assert.Equal(t, "baggage value", attr.Value.AsString())
}
}

0 comments on commit 02f2744

Please sign in to comment.