mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
lib/bloomfilter: fix TestLimiterConcurrent
This commit is contained in:
parent
1487274209
commit
0f84503880
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ func TestLimiterConcurrent(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
p := float64(falseAdditions) / float64(maxItems)
|
p := float64(falseAdditions) / float64(maxItems)
|
||||||
if p > 0.003 {
|
if p > 0.0035 {
|
||||||
panic(fmt.Errorf("too big false additions share=%.5f: %d out of %d", p, falseAdditions, maxItems))
|
panic(fmt.Errorf("too big false additions share=%.5f: %d out of %d", p, falseAdditions, maxItems))
|
||||||
}
|
}
|
||||||
doneCh <- struct{}{}
|
doneCh <- struct{}{}
|
||||||
|
|
Loading…
Reference in a new issue