Skip to content

Commit

Permalink
[Gradle] Changed gradle so that tests run in parallel, preventing Out…
Browse files Browse the repository at this point in the history
…OfMemory errors

PiperOrigin-RevId: 440899952
(cherry picked from commit e9b04a6)
  • Loading branch information
leticiarossi authored and dsn5ft committed Apr 19, 2022
1 parent 9be224b commit a8256c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Expand Up @@ -155,6 +155,9 @@ def getArchivesBaseName(name) {
subprojects {
tasks.withType(Test) {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
forkEvery = 80
maxHeapSize = "2048m"
minHeapSize = "1024m"
}
}

Expand Down

0 comments on commit a8256c2

Please sign in to comment.