mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
Use parallel garbage collection in tests (#950)
This commit is contained in:
parent
da47e3fbbb
commit
e02a7720ab
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue