Skip to content

Commit

Permalink
Update var name for linter hapiness.
Browse files Browse the repository at this point in the history
  • Loading branch information
pglombardo committed Apr 27, 2017
1 parent e7282e5 commit fcf99f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions propagation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,17 @@ func TestSpanPropagator(t *testing.T) {
func TestCaseSensitiveHeaderPropagation(t *testing.T) {
var (
op = "test"
spanParentIdBase64 = uint64(4884)
spanParentIdString = "1314"
spanParentIDBase64 = uint64(4884)
spanParentIDString = "1314"
)

recorder := bt.NewInMemoryRecorder()
tracer := instana.NewTracerWithEverything(&instana.Options{}, recorder)

// Simulate an existing root span
metadata := make(map[string]string)
metadata["X-Instana-T"] = spanParentIdString
metadata["X-Instana-S"] = spanParentIdString
metadata["X-Instana-T"] = spanParentIDString
metadata["X-Instana-S"] = spanParentIDString
metadata["X-Instana-L"] = "1"
metadata["X-Instana-B-Foo"] = "bar"

Expand Down Expand Up @@ -129,8 +129,8 @@ func TestCaseSensitiveHeaderPropagation(t *testing.T) {
}

for _, s := range recorder.GetSpans() {
assert.Equal(t, spanParentIdBase64, s.ParentSpanID)
assert.NotEqual(t, spanParentIdBase64, s.Context.SpanID)
assert.Equal(t, spanParentIDBase64, s.ParentSpanID)
assert.NotEqual(t, spanParentIDBase64, s.Context.SpanID)
}

}

0 comments on commit fcf99f3

Please sign in to comment.