Skip to content

Commit c0088be

Browse files
committed
cap test concurrency to 2
1 parent 8be501c commit c0088be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ test {
347347
dependsOn 'registerDomain'
348348
dependsOn 'licenseMain'
349349
finalizedBy jacocoTestReport // report is always generated after tests run
350-
maxParallelForks = Runtime.runtime.availableProcessors() / 2
350+
maxParallelForks = Math.max(2, (Runtime.runtime.availableProcessors() / 2))
351351
testLogging {
352352
events 'passed', 'skipped', 'failed'
353353
exceptionFormat 'full'

0 commit comments

Comments
 (0)