Skip to content

Commit a0b7c67

Browse files
committed
apply
Signed-off-by: Yuri Shkuro <[email protected]>
1 parent eb06496 commit a0b7c67

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: plugin/storage/integration/integration.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,10 @@ func (s *StorageIntegration) testGetTrace(t *testing.T) {
190190
}
191191

192192
t.Run("NotFound error", func(t *testing.T) {
193-
fakeTraceID := model.TraceID{High: 42, Low: 42}
194-
_, err := s.SpanReader.GetTrace(context.Background(), fakeTraceID)
193+
fakeTraceID := model.TraceID{High: 0, Low: 0}
194+
trace, err := s.SpanReader.GetTrace(context.Background(), fakeTraceID)
195195
assert.Equal(t, spanstore.ErrTraceNotFound, err)
196+
assert.Nil(t, trace)
196197
})
197198
}
198199

0 commit comments

Comments
 (0)