mirror of
https://github.com/bitwarden/android.git
synced 2026-03-12 05:04:17 -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> {
|
||||
useJUnitPlatform()
|
||||
maxHeapSize = "4g"
|
||||
maxHeapSize = "2g"
|
||||
maxParallelForks = Runtime.getRuntime().availableProcessors()
|
||||
jvmArgs = jvmArgs.orEmpty() + "-XX:+UseParallelGC"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user