Adjusting approximateSize check to be more reliable

This commit is contained in:
dougqh 2020-01-27 17:44:39 -05:00
parent 4c7a0ba7a7
commit 176f826a44
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ class CacheProviderTest extends DDSpecification {
then:
// cache will start to proactively free slots & size calc is approximate
poolStrat.approximateSize() > capacity - 4
poolStrat.approximateSize() > 0.9 * capacity
when:
10.times {