diff --git a/TEST_MAPPING b/TEST_MAPPING index 81e4fcb33e07a..b43eb7e12170a 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -26,6 +26,9 @@ "options": [ { "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "org.junit.Ignore" } ] }, diff --git a/services/tests/apexsystemservices/src/com/android/server/ApexSystemServicesTestCases.java b/services/tests/apexsystemservices/src/com/android/server/ApexSystemServicesTestCases.java index 10635a138eb96..503df97a329e0 100644 --- a/services/tests/apexsystemservices/src/com/android/server/ApexSystemServicesTestCases.java +++ b/services/tests/apexsystemservices/src/com/android/server/ApexSystemServicesTestCases.java @@ -31,6 +31,7 @@ import com.android.tradefed.testtype.junit4.BaseHostJUnit4Test; import org.junit.After; import org.junit.Before; +import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.RuleChain; @@ -80,6 +81,7 @@ public class ApexSystemServicesTestCases extends BaseHostJUnit4Test { .doesNotContain("FakeApexSystemService onStart"); } + @Ignore @Test public void testApexSystemServiceStarts() throws Exception { // Pre-install the apex @@ -94,6 +96,7 @@ public class ApexSystemServicesTestCases extends BaseHostJUnit4Test { .contains("FakeApexSystemService onStart"); } + @Ignore @Test public void testInitOrder() throws Exception { // Pre-install the apex