Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9166367 authored by Joe Onorato's avatar Joe Onorato
Browse files

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
parent 416723dc
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -180,7 +180,9 @@ public class SparseMappingTableTest extends TestCase {


        try {
        try {
            table.getValue(key);
            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) {
        } catch (RuntimeException ex) {
            // Good
            // Good
        }
        }