Repository: yetus Updated Branches: refs/heads/master 76a6a971f -> 7598fdfcf
YETUS-252. Remove "Max memory used" from footer table Signed-off-by: Marco Zühlke <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/0d94f57f Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/0d94f57f Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/0d94f57f Branch: refs/heads/master Commit: 0d94f57f1d990999c4a20a1b34be346965b238cc Parents: 76a6a97 Author: Allen Wittenauer <[email protected]> Authored: Thu Feb 11 11:16:53 2016 -0800 Committer: Allen Wittenauer <[email protected]> Committed: Fri Feb 12 07:20:25 2016 -0800 ---------------------------------------------------------------------- precommit/test-patch.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/0d94f57f/precommit/test-patch.sh ---------------------------------------------------------------------- diff --git a/precommit/test-patch.sh b/precommit/test-patch.sh index ecc9925..24588c9 100755 --- a/precommit/test-patch.sh +++ b/precommit/test-patch.sh @@ -311,24 +311,13 @@ function prepopulate_footer add_footer_table "git revision" "${PATCH_BRANCH} / ${gitrev}" } -## @description Put the max memory consumed by maven at the bottom of the table. +## @description Last minute entries on the footer table ## @audience private ## @stability stable ## @replaceable no function finish_footer_table { - local maxmem - add_footer_table "modules" "C: ${CHANGED_MODULES} U: ${CHANGED_UNION_MODULES}" - - # `sort | head` can cause a broken pipe error, but we can ignore it just like compute_gitdiff. - # shellcheck disable=SC2016,SC2086 - maxmem=$(find "${PATCH_DIR}" -type f -exec ${AWK} 'match($0, /^\[INFO\] Final Memory: [0-9]+/) - { print substr($0, 22, RLENGTH-21) }' {} \; | sort -nr 2>/dev/null | head -n 1) - - if [[ -n ${maxmem} ]]; then - add_footer_table "Max memory used" "${maxmem}MB" - fi } ## @description Put the final elapsed time at the bottom of the table.
