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:
Nikolay Martynov 2019-10-11 09:26:19 -04:00 committed by GitHub
commit 015a7bffd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class EvictingCacheProviderTest extends DDSpecification {
then:
// Verify properly GC'd
provider.size() == 0
provider.find(className) == null
weakRef.get() == null
where: