diff --git a/exporter/logzioexporter/from_domain_test.go b/exporter/logzioexporter/from_domain_test.go index b345d3d961ee..dd7154660f1d 100644 --- a/exporter/logzioexporter/from_domain_test.go +++ b/exporter/logzioexporter/from_domain_test.go @@ -39,8 +39,10 @@ func TestFromDomainEmbedProcess(t *testing.T) { func loadModel(t *testing.T) ([]byte, []byte) { inStr, err := os.ReadFile("./testdata/span.json") require.NoError(t, err) + inStr = bytes.ReplaceAll(inStr, []byte("\r\n"), []byte("\n")) outStr, err := os.ReadFile("./testdata/logziospan.json") require.NoError(t, err) + outStr = bytes.ReplaceAll(outStr, []byte("\r\n"), []byte("\n")) return inStr, outStr }