Adjusting capacity check again
This commit is contained in:
parent
235a6470fb
commit
faeb069424
|
@ -185,7 +185,7 @@ class CacheProviderTest extends DDSpecification {
|
||||||
|
|
||||||
then:
|
then:
|
||||||
// cache will start to proactively free slots & size calc is approximate
|
// cache will start to proactively free slots & size calc is approximate
|
||||||
poolStrat.approximateSize() > 0.9 * capacity
|
poolStrat.approximateSize() > 0.8 * capacity
|
||||||
|
|
||||||
when:
|
when:
|
||||||
10.times {
|
10.times {
|
||||||
|
@ -196,7 +196,7 @@ class CacheProviderTest extends DDSpecification {
|
||||||
|
|
||||||
then:
|
then:
|
||||||
// cache will start to proactively free slots & size calc is approximate
|
// cache will start to proactively free slots & size calc is approximate
|
||||||
poolStrat.approximateSize() > 0.9 * capacity
|
poolStrat.approximateSize() > 0.8 * capacity
|
||||||
}
|
}
|
||||||
|
|
||||||
static newVoid() {
|
static newVoid() {
|
||||||
|
|
Loading…
Reference in New Issue