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:
Joe Onorato
2017-05-26 20:04:00 -07:00
parent 53610791a9
commit ce5b6dda35

View File

@@ -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
}