Chromium Code Reviews
DescriptionReland: Fix DexLoaderTest#testLoadAfterDeleteCachedDexes() flakiness part 2/2
There seems to be data cached by the OS which is not deleted by
DexLoader#deleteCachedDexes() which is causing the test to be flaky.
This CL changes DexLoaderTest#testLoadAfterDeleteCachedDexes() to test
DexLoader#deleteCachedDexes() in a scenario which is closer to how the function
is used in production.
The test used to test that calling DexLoader#deleteCachedDexes() would make
DexLoader#load() load a dex file from scratch.
The CL changes the test to test that:
- DexLoader#deleteCachedDexes() deletes previously extracted dexes from the local
data directory
- It is possible to use reuse a data directory to load several dexes
Original CL: https://codereview.chromium.org/2033953002
BUG=616923
Committed: https://crrev.com/36e19af6ecccfdd9940ac9dcf219edbd735a3a3a
Cr-Commit-Position: refs/heads/master@{#404280}
Patch Set 1 #
Messages
Total messages: 15 (7 generated)
|
|||||||||||||||||||