Skip to content

Commit

Permalink
only ignore when needed pt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahkm committed Oct 17, 2024
1 parent 5072eab commit e144396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ddtrace/tracer/log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestStartupLog(t *testing.T) {
t.Run("basic", func(t *testing.T) {
assert := assert.New(t)
tp := new(log.RecordLogger)
tracer, _, _, stop := startTestTracer(t, WithLogger(tp), withIgnoreAgent(true))
tracer, _, _, stop := startTestTracer(t, WithLogger(tp))
defer stop()

tp.Reset()
Expand Down Expand Up @@ -100,7 +100,7 @@ func TestStartupLog(t *testing.T) {
assert := assert.New(t)
tp := new(log.RecordLogger)
t.Setenv("DD_TRACE_SAMPLING_RULES", `[{"service": "some.service","sample_rate": 0.234}, {"service": "other.service","sample_rate": 2}]`)
tracer, _, _, stop := startTestTracer(t, WithLogger(tp), withIgnoreAgent(true))
tracer, _, _, stop := startTestTracer(t, WithLogger(tp))
defer stop()

tp.Reset()
Expand Down

0 comments on commit e144396

Please sign in to comment.