#112: touch file to check is cache trimming is required after cache c… · program-madman/AndroidVideoCache@01bba67 · GitHub
Skip to content

Commit 01bba67

Browse files
committed
danikula#112: touch file to check is cache trimming is required after cache completion
1 parent e0ee4a7 commit 01bba67

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

library/src/main/java/com/danikula/videocache/file/FileCache.java

Lines changed: 1 addition & 0 deletions

test/src/test/java/com/danikula/videocache/HttpProxyCacheServerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,6 @@ private HttpProxyCacheServer newProxy(File cacheDir) {
365365
}
366366

367367
private void waitForAsyncTrimming() throws InterruptedException {
368-
Thread.sleep(500);
368+
Thread.sleep(100);
369369
}
370370
}

test/src/test/java/com/danikula/videocache/file/FileCacheTest.java

Lines changed: 4 additions & 3 deletions

0 commit comments

Comments
 (0)