Skip to content

Commit

Permalink
remove 128 bit traceid from test
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahkm committed Sep 23, 2024
1 parent 3bb3a46 commit 5e3eee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ddtrace/tracer/textmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ func TestEnvVars(t *testing.T) {

assert.Equal(tc.out[0], ctx.traceID.Lower())
assert.Equal(tc.out[1], ctx.spanID)
assert.Equal(tc.traceID128, id128FromSpan(assert, ctx))
// assert.Equal(tc.traceID128, id128FromSpan(assert, ctx)) // add when 128-bit trace id support is enabled
if len(tc.out) > 2 {
require.NotNil(t, ctx.trace)
assert.Equal(float64(tc.out[2]), *ctx.trace.priority)
Expand Down Expand Up @@ -987,7 +987,7 @@ func TestEnvVars(t *testing.T) {
ctx, err := tracer.Extract(tc.in)
assert.Nil(err)

assert.Equal(tc.traceID128Full, id128FromSpan(assert, ctx))
// assert.Equal(tc.traceID128Full, id128FromSpan(assert, ctx)) // add when 128-bit trace id support is enabled
assert.Equal(tc.out[0], ctx.traceID.Lower())
assert.Equal(tc.out[1], ctx.spanID)
p, ok := ctx.SamplingPriority()
Expand Down

0 comments on commit 5e3eee0

Please sign in to comment.