DescriptionFix DexLoaderTest#testLoadAfterDeleteCachedDexes() flakiness
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
BUG=616923
Committed: https://crrev.com/c59b7de12ab8878ddfe4df4fe5cd91b0d526b8c2
Cr-Commit-Position: refs/heads/master@{#398198}
Patch Set 1 : #Patch Set 2 : #
Total comments: 1
Patch Set 3 : #
Messages
Total messages: 14 (8 generated)
|