diff --git a/library/src/androidTest/java/com/google/android/exoplayer2/upstream/cache/CachedContentIndexTest.java b/library/src/androidTest/java/com/google/android/exoplayer2/upstream/cache/CachedContentIndexTest.java index ad64de50ca..4e9171c53b 100644 --- a/library/src/androidTest/java/com/google/android/exoplayer2/upstream/cache/CachedContentIndexTest.java +++ b/library/src/androidTest/java/com/google/android/exoplayer2/upstream/cache/CachedContentIndexTest.java @@ -40,6 +40,11 @@ public class CachedContentIndexTest extends InstrumentationTestCase { index = new CachedContentIndex(cacheDir); } + @Override + protected void tearDown() throws Exception { + TestUtil.recursiveDelete(cacheDir); + } + public void testAddGetRemove() throws Exception { final String key1 = "key1"; final String key2 = "key2";