Skip to content

Commit

Permalink
Show that we handle garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
Garbett1 committed Jan 9, 2025
1 parent e4cca28 commit 9660653
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions processor/loghouseprocessor/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ func Test_promoteTraceAndSpan(t *testing.T) {
trace: pcommon.TraceID{},
span: pcommon.SpanID{},
}},
{name: "garbage, also ignore", args: map[string]any{"traceId": "blah", "spanId": "blah"}, expected: expect{
trace: pcommon.TraceID{},
span: pcommon.SpanID{},
}},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand Down

0 comments on commit 9660653

Please sign in to comment.