Skip to content

Commit

Permalink
Update cmd/collector/app/span_processor_test.go
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro authored Jan 18, 2025
1 parent e1d95b2 commit 5ff0d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/collector/app/span_processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ func TestOTLPReceiverWithV2Storage(t *testing.T) {
span := sSpans.Spans().AppendEmpty()
span.SetName("test-trace")

receivedTraces := atomic.Pointer[ptrace.Traces]{}
var receivedTraces atomic.Pointer[ptrace.Traces]
mockWriter.On("WriteTraces", mock.Anything, mock.Anything).
Run(func(args mock.Arguments) {
storeTrace := args.Get(1).(ptrace.Traces)
Expand Down

0 comments on commit 5ff0d50

Please sign in to comment.