Updating max parallel forks

Reducing the amount of maximum parallel forks to avoid memory problems with circleci
This commit is contained in:
Alberto Rios
2019-05-14 15:47:04 +02:00
parent 920cd7bb95
commit 2fcb010300

View File

@@ -54,7 +54,7 @@ bootJar {
}
test {
maxParallelForks = Runtime.runtime.availableProcessors() - 1 ?: 1
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
// Only run the tests if acceptanceTests is specified
onlyIf {