mirror of
https://github.com/bitwarden/android.git
synced 2026-04-29 20:38:41 -05:00
Use parallel garbage collection in tests (#950)
This commit is contained in:
committed by
Álison Fernandes
parent
da47e3fbbb
commit
e02a7720ab
@@ -276,8 +276,9 @@ tasks {
|
|||||||
|
|
||||||
withType<Test> {
|
withType<Test> {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
maxHeapSize = "4g"
|
maxHeapSize = "2g"
|
||||||
maxParallelForks = Runtime.getRuntime().availableProcessors()
|
maxParallelForks = Runtime.getRuntime().availableProcessors()
|
||||||
|
jvmArgs = jvmArgs.orEmpty() + "-XX:+UseParallelGC"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user