Skip to content

Commit

Permalink
test.sh: Adjust JVM memory, leave air.test.jvmsize
Browse files Browse the repository at this point in the history
  • Loading branch information
Chance Zibolski committed Nov 4, 2019
1 parent 68fd67e commit 9574669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
ARTIFACT_DIR="${ARTIFACT_DIR:-}"

TEST_SPECIFIC_MODULES=${TEST_SPECIFIC_MODULES:-presto-tests}
JVM_HEAPSIZE="${JVM_HEAPSIZE:-2048M}"
JVM_HEAPSIZE="${JVM_HEAPSIZE:-4096M}"

export MAVEN_OPTS="-Xmx$JVM_HEAPSIZE -XX:+ExitOnOutOfMemoryError"
MAVEN_SKIP_CHECKS_AND_DOCS="-Dair.check.skip-all=true -Dmaven.javadoc.skip=true"
Expand Down Expand Up @@ -34,7 +34,7 @@ function run_tests() {
./mvnw -v
./mvnw clean -B
./mvnw install $MAVEN_FAST_INSTALL -B -pl "${TEST_SPECIFIC_MODULES}" -am
./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -B -pl "${TEST_SPECIFIC_MODULES}" -Dair.test.jvmsize=$JVM_HEAPSIZE -Dtest="!io.prestosql.execution.sessionpropertymanagers.TestDbSessionPropertyManagerIntegration"
./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -B -pl "${TEST_SPECIFIC_MODULES}" -Dtest="!io.prestosql.execution.sessionpropertymanagers.TestDbSessionPropertyManagerIntegration"
}

function main() {
Expand Down

0 comments on commit 9574669

Please sign in to comment.