Index: dev-support/test-patch.sh =================================================================== --- dev-support/test-patch.sh (revision 1507832) +++ dev-support/test-patch.sh (working copy) @@ -652,7 +652,7 @@ echo "" echo "======================================================================" echo "======================================================================" - echo " Running tests." + echo " Running tests against hadoop 2." echo "======================================================================" echo "======================================================================" echo "" @@ -667,10 +667,10 @@ condemnedCount=`$PS auxwww | $GREP ${PROJECT_NAME}PatchProcess | $AWK '{print $2}' | $AWK 'BEGIN {total = 0} {total += 1} END {print total}'` echo "WARNING: $condemnedCount rogue build processes detected, terminating." $PS auxwww | $GREP ${PROJECT_NAME}PatchProcess | $AWK '{print $2}' | /usr/bin/xargs -t -I {} /bin/kill -9 {} > /dev/null - echo "$MVN clean test -P runAllTests -D${PROJECT_NAME}PatchProcess" + echo "$MVN clean test -Dhadoop.profile=2.0 -P runAllTests -D${PROJECT_NAME}PatchProcess" export MAVEN_OPTS="${MAVEN_OPTS}" ulimit -a - $MVN clean test -P runAllTests -D${PROJECT_NAME}PatchProcess + $MVN clean test -Dhadoop.profile=2.0 -P runAllTests -D${PROJECT_NAME}PatchProcess if [[ $? != 0 ]] ; then ### Find and format names of failed tests failed_tests=`find . -name 'TEST*.xml' | xargs $GREP -l -E "