mirror of
https://github.com/bitwarden/android.git
synced 2024-11-22 01:16:02 +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> {
|
||||
useJUnitPlatform()
|
||||
maxHeapSize = "4g"
|
||||
maxHeapSize = "2g"
|
||||
maxParallelForks = Runtime.getRuntime().availableProcessors()
|
||||
jvmArgs = jvmArgs.orEmpty() + "-XX:+UseParallelGC"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue