You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aw...@apache.org on 2015/07/10 17:14:08 UTC

hadoop git commit: HADOOP-12165. author tests show entire run time not test time when skipped (Kengo Seki via aw)

Repository: hadoop
Updated Branches:
  refs/heads/HADOOP-12111 8243608fd -> 5b2412e86


HADOOP-12165. author tests show entire run time not test time when skipped (Kengo Seki via aw)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5b2412e8
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5b2412e8
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5b2412e8

Branch: refs/heads/HADOOP-12111
Commit: 5b2412e861e7a4d65670d70a585e5f78f2fba857
Parents: 8243608
Author: Allen Wittenauer <aw...@apache.org>
Authored: Fri Jul 10 08:13:54 2015 -0700
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Fri Jul 10 08:13:54 2015 -0700

----------------------------------------------------------------------
 dev-support/test-patch.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/5b2412e8/dev-support/test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh
index 793c42f..694a055 100755
--- a/dev-support/test-patch.sh
+++ b/dev-support/test-patch.sh
@@ -2291,14 +2291,14 @@ function check_author
 
   big_console_header "Checking there are no @author tags in the patch."
 
+  start_clock
+
   if [[ ${CHANGED_FILES} =~ ${appname} ]]; then
     echo "Skipping @author checks as ${appname} has been patched."
     add_vote_table 0 @author "Skipping @author checks as ${appname} has been patched."
     return 0
   fi
 
-  start_clock
-
   authorTags=$("${GREP}" -c -i '^[^-].*@author' "${PATCH_DIR}/patch")
   echo "There appear to be ${authorTags} @author tags in the patch."
   if [[ ${authorTags} != 0 ]] ; then