Give the app test JVM a 2g heap
This commit is contained in:
parent
3da8a31c5b
commit
da003d9ea4
1 changed files with 2 additions and 0 deletions
|
|
@ -495,6 +495,8 @@ tasks.withType<Test>().configureEach {
|
|||
dependsOn(":wolfskin-design:testDebugUnitTest")
|
||||
// Android 16 shared-memory setup needs Robolectric's JDK FileDescriptor bridge.
|
||||
jvmArgs("--add-exports=java.base/jdk.internal.access=ALL-UNNAMED")
|
||||
// The full suite keeps every Robolectric capture in one worker; the 512 MB default runs out near the end.
|
||||
maxHeapSize = "2g"
|
||||
systemProperty("robolectric.dependency.dir", project(":wolfskin-design").layout.buildDirectory.dir("robolectric-sdk").get().asFile.absolutePath)
|
||||
systemProperty("robolectric.offline", "true")
|
||||
systemProperty("roborazzi.test.record", "true")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue