make metrics test a little less picky

This commit is contained in:
Jeromy 2016-04-20 11:52:03 -07:00
parent 5b171ba4bf
commit b7d8063a04

View File

@ -51,7 +51,7 @@ func TestLatencyEWMA(t *testing.T) {
mu := exp
sig := 10.0
next := func() time.Duration {
mu = (rand.NormFloat64() * sig) + mu
mu := (rand.NormFloat64() * sig) + mu
return time.Duration(mu)
}