HADOOP-11904. test-patch.sh goes into an infinite loop on non-maven builds (aw)
This commit is contained in:
parent
fcd4cb7516
commit
3ff91e9e93
@ -915,6 +915,13 @@ function git_checkout
|
||||
fi
|
||||
|
||||
add_jira_footer "git revision" "${PATCH_BRANCH} / ${GIT_REVISION}"
|
||||
|
||||
if [[ ! -f ${BASEDIR}/pom.xml ]]; then
|
||||
hadoop_error "ERROR: This verison of test-patch.sh only supports Maven-based builds. Aborting."
|
||||
add_jira_table -1 pre-patch "Unsupported build system."
|
||||
output_to_jira 1
|
||||
cleanup_and_exit 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
@ -1331,7 +1338,6 @@ function apply_patch_file
|
||||
## @return none; otherwise relaunches
|
||||
function check_reexec
|
||||
{
|
||||
set +x
|
||||
local commentfile=${PATCH_DIR}/tp.${RANDOM}
|
||||
|
||||
if [[ ${REEXECED} == true ]]; then
|
||||
|
@ -604,6 +604,9 @@ Release 2.8.0 - UNRELEASED
|
||||
HADOOP-11916. TestStringUtils#testLowerAndUpperStrings failed on MAC
|
||||
due to a JVM bug. (Ming Ma via ozawa)
|
||||
|
||||
HADOOP-11904. test-patch.sh goes into an infinite loop on non-maven
|
||||
builds (aw)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
Loading…
Reference in New Issue
Block a user