diff --git a/dev-support/bin/hadoop.sh b/dev-support/bin/hadoop.sh index fd9363e66b..c60603334f 100755 --- a/dev-support/bin/hadoop.sh +++ b/dev-support/bin/hadoop.sh @@ -577,6 +577,7 @@ function shadedclient_rebuild extra=( "-Dtest=NoUnitTests" + "-Dsurefire.failIfNoSpecifiedTests=false" "-Dmaven.javadoc.skip=true" "-Dcheckstyle.skip=true" "-Dspotbugs.skip=true" @@ -614,7 +615,7 @@ function shadedclient_rebuild echo_and_redirect "${logfile}" \ "${MAVEN}" "${MAVEN_ARGS[@]}" verify -fae --batch-mode -am \ "${modules[@]}" \ - -DskipShade -Dtest=NoUnitTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true \ + -DskipShade -Dtest=NoUnitTests -Dsurefire.failIfNoSpecifiedTests=false -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true \ -Dspotbugs.skip=true ${extra[*]} count=$("${GREP}" -c '\[ERROR\]' "${logfile}") diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index e457797e3a..c732837dd1 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -169,7 +169,7 @@ -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError - 3.0.0-M1 + 3.2.5 ${maven-surefire-plugin.version} ${maven-surefire-plugin.version}