Skip to content

Commit

Permalink
Fixing tests OOM
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Jul 15, 2019
1 parent 56333d5 commit d3e1421
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ plugins {
id 'com.github.breadmoirai.github-release' version '2.2.9'
}

subprojects {
tasks.withType(Test) {
maxHeapSize = "3g"
}
}

tasks.findByName('release').dependsOn project.getTasksByName('test', true)

githubRelease {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hibernate.version=5.2.11.Final

lucene.version=7.2.1

org.gradle.jvmargs=-Xmx4g -XX:-UseGCOverheadLimit
org.gradle.jvmargs=-Xmx1g -XX:-UseGCOverheadLimit

# set token in personal global
i2.github.token=
Expand Down

0 comments on commit d3e1421

Please sign in to comment.