DescriptionTest cache creation retry via public interface only.
This is a cleanup after:
https://codereview.chromium.org/12794003/
One test for backend force retry is enough, the other test
(CreateBackend_MissingFile) is converted to be backend implementation specific.
The CreateCacheViaPublicInterface() is called only once, but to eliminate it
there is a need to make the cache_thread_ protected. Also, I am sure the name is
not ideal, please suggest another.
The New Eviction allows not to be very strict about version comparison as stored
in the files on disk, this allows creating the BackendImpl with no flags and
then being able to pass the common integrity check.
BUG=173384
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192558
Patch Set 1 #
Total comments: 2
Patch Set 2 : move the CreateCacheViaPublicInterface() logic to the DeleteOld test #Patch Set 3 : rebased #Patch Set 4 : check cache integrity after destroying the backend #
Messages
Total messages: 12 (0 generated)
|