From 54a0a0783da8b2b4c90cf81b1006d6346a1d457b Mon Sep 17 00:00:00 2001 From: Emmanuel Emonueje Ebenezer Date: Wed, 8 Jan 2025 07:41:08 +0100 Subject: [PATCH] Debug: Use archive span reader when trace reader fails Signed-off-by: Emmanuel Emonueje Ebenezer --- plugin/storage/integration/elasticsearch_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/storage/integration/elasticsearch_test.go b/plugin/storage/integration/elasticsearch_test.go index 546e7123b58..3acb724a972 100644 --- a/plugin/storage/integration/elasticsearch_test.go +++ b/plugin/storage/integration/elasticsearch_test.go @@ -141,7 +141,7 @@ func (s *ESStorageIntegration) initSpanstore(t *testing.T, allTagsAsFields bool) require.NoError(t, err) s.TraceReader = v1adapter.NewTraceReader(spanReader) - s.ArchiveSpanReader, err = f.CreateArchiveSpanReader() + s.ArchiveSpanReader, err = f.CreateArchiveSpanReader() require.NoError(t, err) s.ArchiveTraceReader = v1adapter.NewTraceReader(s.ArchiveSpanReader) archiveSpanWriter, err := f.CreateArchiveSpanWriter()