Skip to content

Commit

Permalink
use test tracer
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-mez committed Apr 7, 2023
1 parent 69fc155 commit 9226a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ddtrace/tracer/span_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -837,8 +837,8 @@ func TestRootSpanAccessor(t *testing.T) {

func TestSpanStartAndFinishLogs(t *testing.T) {
tp := new(log.RecordLogger)
tracer := newTracer(WithLogger(tp), WithDebugMode(true))
defer tracer.Stop()
tracer, _, _, stop := startTestTracer(t, WithLogger(tp), WithDebugMode(true))
defer stop()

span := tracer.StartSpan("op")
time.Sleep(time.Millisecond * 2)
Expand Down

0 comments on commit 9226a57

Please sign in to comment.