Skip to content

Commit

Permalink
HADOOP-19127. Do not run unit tests on Windows pre-commit CI (apache#…
Browse files Browse the repository at this point in the history
  • Loading branch information
GauthamBanasandra authored Mar 25, 2024
1 parent 44a249e commit 76489e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev-support/bin/hadoop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,11 @@ function personality_modules
fi
;;
unit)
if [[ "$IS_WINDOWS" && "$IS_WINDOWS" == 1 && (-z "$IS_NIGHTLY_BUILD" || "$IS_NIGHTLY_BUILD" == 0) ]]; then
echo "Won't run unit tests for Windows in pre-commit CI"
return
fi

extra="-Dsurefire.rerunFailingTestsCount=2"
if [[ "${BUILDMODE}" = full ]]; then
ordering=mvnsrc
Expand Down

0 comments on commit 76489e5

Please sign in to comment.