Skip to content
Snippets Groups Projects
Commit 0f5539b8 authored by satayev's avatar satayev
Browse files

Ignore flaky ApexSystemServicesTestCases.

It seems depending on logcat output for signaling introduces a
persistent flakiness to the tests. Mark them @Ignore until a better
solution is available, which disables the tests on presubmit.

The test is still part of mts-core which shouldn't be ignoring these
test cases though.

Bug: 218368479
Test: presubmit
Change-Id: I154e7fecab044d1f6406b98be8e3873a6ff03c5e
parent 51f2e326
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,9 @@
"options": [
{
"exclude-annotation": "androidx.test.filters.FlakyTest"
},
{
"exclude-annotation": "org.junit.Ignore"
}
]
},
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment