Skip to content

Commit

Permalink
HADOOP-19071. Fix shadedclient Test Error.
Browse files Browse the repository at this point in the history
  • Loading branch information
slfan1989 committed Feb 8, 2024
1 parent 9d0c44e commit a76f77e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-support/bin/hadoop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ function shadedclient_rebuild

extra=(
"-Dtest=NoUnitTests"
"-Dsurefire.failIfNoSpecifiedTests=false"
"-Dmaven.javadoc.skip=true"
"-Dcheckstyle.skip=true"
"-Dspotbugs.skip=true"
Expand Down Expand Up @@ -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}")
Expand Down

0 comments on commit a76f77e

Please # to comment.