Skip to content

Commit

Permalink
Fix ES Failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Wise-Wizard committed Mar 28, 2024
1 parent 5e5d8ab commit a6b83b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugin/storage/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ func (s *StorageIntegration) testArchiveTrace(t *testing.T) {
actual, err = s.ArchiveSpanReader.GetTrace(context.Background(), tID)
return err == nil && len(actual.Spans) == 1
})
require.True(t, found)
if !found {
t.Fatalf("Expected trace not found in the archive")
}

CompareTraces(t, &model.Trace{Spans: []*model.Span{expected}}, actual)
}

Expand Down

0 comments on commit a6b83b2

Please sign in to comment.