Skip sameInstanceKeepsSameCdis on CF
The test takes more than 1 minute when running on CF. 1 minute however
is an enforced timeout for all presubmit tests.
Disabling the test on CF to avoid noise caused by the timeout.
Bug: 257270529
Test: watch ATH
Change-Id: Ie6c40e6018d92601fb0c47f47a80ef910b294ed4
diff --git a/tests/testapk/src/java/com/android/microdroid/test/MicrodroidTests.java b/tests/testapk/src/java/com/android/microdroid/test/MicrodroidTests.java
index f6bb7e4..2ceabe7 100644
--- a/tests/testapk/src/java/com/android/microdroid/test/MicrodroidTests.java
+++ b/tests/testapk/src/java/com/android/microdroid/test/MicrodroidTests.java
@@ -399,6 +399,7 @@
})
public void sameInstanceKeepsSameCdis() throws Exception {
assumeSupportedKernel();
+ assume().withMessage("Skip on CF. Too Slow. b/257270529").that(isCuttlefish()).isFalse();
grantPermission(VirtualMachine.USE_CUSTOM_VIRTUAL_MACHINE_PERMISSION);
VirtualMachineConfig normalConfig =