Re: Clear vs. RemoveAll and application in tests

2020-07-30 Thread akurbanov
Hello Michael, Is that possible to identify what is the source of entries that are left in the cache after clear()? I would suggest to use full cache restart cycle between the tests (destroy/getOrCreate), clearing without existing load should not leave any entries in the cache. How do you use r

Clear vs. RemoveAll and application in tests

2020-07-29 Thread Mitchell Rathbun (BLOOMBERG/ 731 LEX)
We have a bunch of tests that are run for our caching layer. In between each test, we want to clear all of the data in the cache. As part of some of the tests, there are background writes that occur to the cache. We have some sleeps to account for this, but that is error prone and doesn't always