Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into feat/export-telemet…
Browse files Browse the repository at this point in the history
…rygen-funcs-for-tests
  • Loading branch information
Erog38 committed Jan 7, 2025
2 parents 1b25937 + 52aea84 commit 51a2557
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exporter/logzioexporter/from_domain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 51a2557

Please sign in to comment.