We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb06496 commit a0b7c67Copy full SHA for a0b7c67
plugin/storage/integration/integration.go
@@ -190,9 +190,10 @@ func (s *StorageIntegration) testGetTrace(t *testing.T) {
190
}
191
192
t.Run("NotFound error", func(t *testing.T) {
193
- fakeTraceID := model.TraceID{High: 42, Low: 42}
194
- _, err := s.SpanReader.GetTrace(context.Background(), fakeTraceID)
+ fakeTraceID := model.TraceID{High: 0, Low: 0}
+ trace, err := s.SpanReader.GetTrace(context.Background(), fakeTraceID)
195
assert.Equal(t, spanstore.ErrTraceNotFound, err)
196
+ assert.Nil(t, trace)
197
})
198
199
0 commit comments