Skip to content

Commit

Permalink
Merge branch 'main' into grpc-server-status-code
Browse files Browse the repository at this point in the history
  • Loading branch information
damemi authored Sep 25, 2024
2 parents e1e7687 + b7748a4 commit 9349e15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/trace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@ func TestSpanIsRecording(t *testing.T) {
assert.False(t, s.IsRecording(), "unsampled span should not be recorded")
}

func TestSpanSpanContext(t *testing.T) {
s := spanBuilder{SpanContext: spanContext0}.Build()
assert.Equal(t, spanContext0, s.SpanContext())
}

func TestSpanSetStatus(t *testing.T) {
s := spanBuilder{}.Build()

Expand Down

0 comments on commit 9349e15

Please sign in to comment.