Re-enable ComposTestCase but exclude in presubmit
Temporarily exclude in presubmit until we have more confidence.
Bug: 194974010
Test: TH
Change-Id: I375e42c708d066b890a5468cb6f3ae2d7cffb6b9
diff --git a/TEST_MAPPING b/TEST_MAPPING
index d8b294b..6b52514 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -4,9 +4,13 @@
"name": "MicrodroidHostTestCases"
},
{
- "name": "ComposHostTestCases"
+ "name": "ComposHostTestCases",
+ "options": [
+ {
+ "exclude-filter": "android.compos.test.ComposKeyTestCase#testOdrefresh"
+ }
+ ]
}
-
],
"postsubmit": [
// TODO(jiyong): promote this to presubmit. That currently doesn't work because
@@ -14,6 +18,15 @@
// somehow thinks that the test wasn't executed at all and reports it as a failure.
{
"name": "VirtualizationTestCases"
+ },
+ // TODO(victorhsieh): promotee this to presubmit once it's proven stable.
+ {
+ "name": "ComposHostTestCases",
+ "options": [
+ {
+ "include-filter": "android.compos.test.ComposKeyTestCase#testOdrefresh"
+ }
+ ]
}
],
"imports": [
diff --git a/compos/tests/java/android/compos/test/ComposTestCase.java b/compos/tests/java/android/compos/test/ComposTestCase.java
index da23919..4471e63 100644
--- a/compos/tests/java/android/compos/test/ComposTestCase.java
+++ b/compos/tests/java/android/compos/test/ComposTestCase.java
@@ -30,13 +30,11 @@
import org.junit.After;
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
@RootPermissionTest
@RunWith(DeviceJUnit4ClassRunner.class)
-@Ignore("b/194974010")
public final class ComposTestCase extends VirtualizationTestCaseBase {
/** Path to odrefresh on Microdroid */