Temporarily set the VM's default memory to 2048 MiB
2048 is a known working lower limit for odrefresh to complete (we
haven't looked into the actual memory usage, but the default of 256 is
far from enough). Once the payload app can customize the VM's memory, we
should remove the default override.
Bug: 192294431
Bug: 192690283
Test: atest
Change-Id: I7779308d9f9872d1d1f518596b2679cb4b67c3ca
diff --git a/compos/tests/java/android/compos/test/ComposTestCase.java b/compos/tests/java/android/compos/test/ComposTestCase.java
index 72eeb2b..f280c99 100644
--- a/compos/tests/java/android/compos/test/ComposTestCase.java
+++ b/compos/tests/java/android/compos/test/ComposTestCase.java
@@ -28,7 +28,6 @@
import org.junit.After;
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -71,7 +70,6 @@
}
@Test
- @Ignore("b/192294431")
public void testOdrefresh() throws Exception {
waitForServiceRunning();
diff --git a/microdroid/microdroid.json b/microdroid/microdroid.json
index b1ef86a..ee3a737 100644
--- a/microdroid/microdroid.json
+++ b/microdroid/microdroid.json
@@ -35,5 +35,6 @@
],
"writable": false
}
- ]
+ ],
+ "memory_mib": 2048
}