Skip to content

Commit

Permalink
undo first attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
wildefires authored Aug 25, 2022
1 parent 97d898c commit e9d0b88
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sdk/trace/trace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,6 @@ func TestStartSpanNewRootNotSampled(t *testing.T) {
if s3.SpanContext().IsSampled() {
t.Error(fmt.Errorf("got child span is sampled, want child span WithNewRoot() and with sampler: ParentBased(NeverSample()) to not be sampled"))
}

// Test we get a successful span as a new root if a nil context is sent in
_, s4 := neverSampledTr.Start(nil, "span3-new-root", trace.WithNewRoot())
}

func TestSetSpanAttributesOnStart(t *testing.T) {
Expand Down

0 comments on commit e9d0b88

Please sign in to comment.