Skip to content

Commit bba99f7

Browse files
author
Denys Vitali
committed
test: do not print JSON
1 parent 21d6c5d commit bba99f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pdata/internal/json/json_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ func BenchmarkEncoding(b *testing.B) {
3434
exp := plogotlp.NewExportRequestFromLogs(logs)
3535
b.ResetTimer()
3636
for i := 0; i < b.N; i++ {
37-
res, err := exp.MarshalJSON()
38-
fmt.Printf("res=%s\n", res)
37+
_, err := exp.MarshalJSON()
3938
if err != nil {
4039
b.Fatal(err)
4140
}

0 commit comments

Comments
 (0)