Skip to content

Commit 1ece2a3

Browse files
authored
fix(ddtrace/tracer): fix TestSpanString deadlock (#4059)
Co-authored-by: nick.ripley <[email protected]>
1 parent 9668c9a commit 1ece2a3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ddtrace/tracer/span_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,8 +702,6 @@ func TestSpanString(t *testing.T) {
702702
// don't bother checking the contents, just make sure it works.
703703
assert.NotEqual("", span.String())
704704
span.Finish()
705-
span.mu.RLock()
706-
defer span.mu.RUnlock()
707705
assert.NotEqual("", span.String())
708706
}
709707

0 commit comments

Comments
 (0)