diff --git a/dev/github/run_tests.sh b/dev/github/run_tests.sh index 1c22f682707c..377fb1480789 100755 --- a/dev/github/run_tests.sh +++ b/dev/github/run_tests.sh @@ -49,10 +49,10 @@ echo "$myuid:x:$myuid:$mygid:anonymous uid:/home/jenkins:/bin/false" >> /etc/pas JAVA_HOME=${JAVA_HOME_BACKUP} PATH=${PATH_BACKUP} -if [ -n "${ALLUXIO_DOCKER_MVN_TESTS}" ]; then - mvn_args+=" -fn -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false --fail-at-end -Dtest=${ALLUXIO_DOCKER_MVN_TESTS}" +if [ -n "${ALLUXIO_MVN_TESTS}" ]; then + mvn_args+=" -fn -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false --fail-at-end -Dtest=${ALLUXIO_MVN_TESTS}" fi -if [ -n "${ALLUXIO_DOCKER_MVN_ADDITIONAL_PROPERTIES}" ] +if [ -n "${ALLUXIO_MVN_ADDITIONAL_PROPERTIES}" ] then mvn_args+=" ${ALLUXIO_MVN_ADDITIONAL_PROPERTIES}" fi