Skip to content

Commit

Permalink
update test-case
Browse files Browse the repository at this point in the history
(cherry picked from commit d48618d)
  • Loading branch information
hramazani committed Dec 8, 2022
1 parent 938af54 commit 451e5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func TestHandler_ServeHTTP(t *testing.T) {
// Test that Span attributes were populated with Headers
reflectAttrMap := reflect.ValueOf(trace.FromContext(result.request.Context())).Elem().Field(3).Elem().Field(0)
reflectKeys := reflectAttrMap.MapKeys()
assert.Len(t, reflectKeys, 8)
assert.Len(t, reflectKeys, 9)

resultHeadersMap := make(map[string]string)
for _, k := range reflectKeys {
Expand Down

0 comments on commit 451e5e6

Please sign in to comment.