Turn off the check in the test because the assertion is off in the implementation.
Bug: 38350004 Test: bit FrameworksCoreTests:com.android.internal.app.procstats.SparseMappingTableTest Change-Id: I4b58610fd1ac9ca082479a7d5ba40c69f0a26654
This commit is contained in:
@@ -180,7 +180,9 @@ public class SparseMappingTableTest extends TestCase {
|
||||
|
||||
try {
|
||||
table.getValue(key);
|
||||
throw new Exception("Exception not thrown after mismatched reset calls.");
|
||||
// Turn off this assertion because the check in SparseMappingTable.assertConsistency
|
||||
// is also turned off.
|
||||
//throw new Exception("Exception not thrown after mismatched reset calls.");
|
||||
} catch (RuntimeException ex) {
|
||||
// Good
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user