Skip to content

Commit

Permalink
Disable flaky test TestW3CSpanTraceResourceExtraction
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryax committed Apr 13, 2022
1 parent 6cb401f commit 5a8b7dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exporter/awsxrayexporter/awsxray_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func TestXrayAndW3CSpanTraceResourceExtraction(t *testing.T) {
}

func TestW3CSpanTraceResourceExtraction(t *testing.T) {
t.Skip("Flaky test, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/9255")
td := constructW3CSpanData()
logger, _ := zap.NewProduction()
assert.Len(t, extractResourceSpans(generateConfig(), logger, td), 0, "0 spans have xray trace id")
Expand Down Expand Up @@ -116,7 +117,8 @@ func constructSpanData() pdata.Traces {
return traces
}

func constructW3CSpanData() pdata.Traces {
// nolint:unused
func constructW3CSpanData() ptrace.Traces {
resource := constructResource()
traces := pdata.NewTraces()
rspans := traces.ResourceSpans().AppendEmpty()
Expand Down

0 comments on commit 5a8b7dd

Please sign in to comment.