Use parallel garbage collection in tests (#950)

This commit is contained in:
Brian Yencho 2024-02-05 12:11:55 -06:00 committed by Álison Fernandes
parent da47e3fbbb
commit e02a7720ab

View file

@ -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"
} }
} }