Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mapno committed Oct 1, 2024
1 parent b38c24c commit 1b672e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/generator/registry/histogram_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func Test_histogram(t *testing.T) {
assert.Equal(t, 3, seriesAdded)

collectionTimeMs = time.Now().UnixMilli()
collectionTimeWithOffsetMs = collectionTimeMs - 1
expectedSamples = []sample{
newSample(map[string]string{"__name__": "my_histogram_count", "label": "value-1"}, collectionTimeMs, 1),
newSample(map[string]string{"__name__": "my_histogram_sum", "label": "value-1"}, collectionTimeMs, 1),
Expand Down

0 comments on commit 1b672e0

Please sign in to comment.