Skip to content

Commit

Permalink
Deflake MQEMA test.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew McGregor <amcgregor@fastly.com>
  • Loading branch information
andrewmcgr committed Apr 23, 2021
1 parent 5e036d6 commit d1e45f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus/quantile_tracker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func BenchmarkQEMAObserve(b *testing.B) {

func TestMQEMAObserve(t *testing.T) {
tr := NewMQEMATracker([]float64{0.25, 0.5, 0.75, 0.9, 0.95, 0.99}, 0.005, 0.01, 0.01)
for i := 0; i < 10000; i++ {
for i := 0; i < 100000; i++ {
v := rand.NormFloat64()
tr.Observe(v)
}
Expand Down

0 comments on commit d1e45f0

Please sign in to comment.