Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

Commit 3e76ee5

Browse files
author
Simone Caruso
committed
Update histogram test
1 parent ec2594a commit 3e76ee5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reporting/histogram_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ import (
77

88
metrics "github.com/rcrowley/go-metrics"
99
"github.com/stretchr/testify/assert"
10+
"github.com/wavefronthq/wavefront-sdk-go/histogram"
1011
)
1112

12-
var pow10, inc100, inc1000, emptyHistogram = NewHistogram(), NewHistogram(), NewHistogram(), NewHistogram()
13+
var pow10, inc100, inc1000, emptyHistogram = NewHistogram(), NewHistogram(histogram.Compression(5)), NewHistogram(), NewHistogram()
1314

1415
func createPow10Histogram() {
1516
pow10_ := [9]int64{0, 1, 10, 10, 100, 1000, 10000, 10000, 100000}

0 commit comments

Comments
 (0)