From d235a827be0832306701c38c4fe6fb732685846c Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Thu, 6 Sep 2018 15:44:41 -0700 Subject: [PATCH] tell JVM to use less memory when testing (#3650) * don't install when testing We already installed in build step. --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0e582dc9c96b..0b8ab05f7b39 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,13 +6,14 @@ anchor_build: &anchor_build anchor_unittest: &anchor_unittest name: Run unit tests - command: mvn -B -DtrimStackTrace=false -fae --quiet -DskipITs install -P release + command: mvn -B -DtrimStackTrace=false -fae --quiet -DskipITs test -P release anchor_docker: &anchor_docker docker: - image: circleci/openjdk:8-jdk environment: TERM: dumb + MAVEN_OPTS: -Xmx256m anchor_auth_vars: &anchor_auth_vars environment: @@ -32,7 +33,7 @@ jobs: - image: maven:3.5.2-jdk-7 environment: TERM: dumb - MAVEN_OPTS: -Xmx1024m + MAVEN_OPTS: -Xmx512m steps: - checkout - run: