Update BlobStorePerfTests to use releaseAllLeases().
Earlier, we were clearing package data which has a side effect of the package under instrumentation getting killed. Bug: 227589710 Test: atest ./apct-tests/perftests/blobstore/src/com/android/perftests/blob/BlobStorePerfTests.java Change-Id: I6c43c4404939a8b7c35b2214ff2460f6513f08ba
This commit is contained in:
@@ -95,9 +95,9 @@ public class BlobStorePerfTests {
|
||||
}
|
||||
|
||||
@After
|
||||
public void tearDown() {
|
||||
public void tearDown() throws Exception {
|
||||
mContext.getFilesDir().delete();
|
||||
runShellCommand("cmd package clear " + mContext.getPackageName());
|
||||
mBlobStoreManager.releaseAllLeases();
|
||||
runShellCommand("cmd blob_store idle-maintenance");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user