Disable MicrodroidHostTests.testCustomVirtualMachinePermission.
Being able to revoke a granted signature permission is a bug even if the
permission has the development flag, and the revocation will be lost
upon any reconcilation of this permission, e.g. upon certain package
changes or after system reboot. A correct way to test permission
revocation can be using a test helper app that has a different signing
certificate.
Bug: 288467613
Test: MicrodroidHostTestCases
Change-Id: I7eb65cdc52e195cc8317292dec9cf6284b0166f8
diff --git a/tests/hostside/java/com/android/microdroid/test/MicrodroidHostTests.java b/tests/hostside/java/com/android/microdroid/test/MicrodroidHostTests.java
index 42a3085..cbc35ad 100644
--- a/tests/hostside/java/com/android/microdroid/test/MicrodroidHostTests.java
+++ b/tests/hostside/java/com/android/microdroid/test/MicrodroidHostTests.java
@@ -55,6 +55,7 @@
import org.json.JSONObject;
import org.junit.After;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;
@@ -844,6 +845,7 @@
}
}
+ @Ignore("b/288467613#comment9")
@Test
public void testCustomVirtualMachinePermission() throws Exception {
assumeTrue(