Merge pull request #1042 from DataDog/mar-kolya/make-cache-provider-test-more-stable
`DDCachingPoolStrategy.size()` is not precise, use `find` instead
This commit is contained in:
commit
015a7bffd9
|
@ -74,7 +74,7 @@ class EvictingCacheProviderTest extends DDSpecification {
|
|||
|
||||
then:
|
||||
// Verify properly GC'd
|
||||
provider.size() == 0
|
||||
provider.find(className) == null
|
||||
weakRef.get() == null
|
||||
|
||||
where:
|
||||
|
|
Loading…
Reference in New Issue