Use parallel garbage collection in tests (#950)

This commit is contained in:
Brian Yencho
2024-06-20 17:08:07 +01:00
committed by Álison Fernandes
parent da47e3fbbb
commit e02a7720ab
+2 -1
View File
@@ -276,8 +276,9 @@ tasks {
withType<Test> {
useJUnitPlatform()
maxHeapSize = "4g"
maxHeapSize = "2g"
maxParallelForks = Runtime.getRuntime().availableProcessors()
jvmArgs = jvmArgs.orEmpty() + "-XX:+UseParallelGC"
}
}