You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2015/10/14 21:16:56 UTC

ambari git commit: AMBARI-13362: Hadoop QA CI (aka test-patch) is skipping ambari-web unit testing (jaoki)

Repository: ambari
Updated Branches:
  refs/heads/trunk 5298bde61 -> 5cd87b03c


AMBARI-13362: Hadoop QA CI (aka test-patch) is skipping ambari-web unit testing (jaoki)


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

Branch: refs/heads/trunk
Commit: 5cd87b03cb7eba3a6dca119455b4d1a3466f66ac
Parents: 5298bde
Author: jaoki <yo...@example.com>
Authored: Wed Oct 14 12:16:29 2015 -0700
Committer: jaoki <yo...@example.com>
Committed: Wed Oct 14 12:16:29 2015 -0700

----------------------------------------------------------------------
 dev-support/test-patch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5cd87b03/dev-support/test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh
index 5a6af44..fed1935 100755
--- a/dev-support/test-patch.sh
+++ b/dev-support/test-patch.sh
@@ -775,7 +775,7 @@ findModules () {
   CHANGED_MODULES=""
   for module in $(cat $TMP_MODULES | sort | uniq); do
     $GREP "<packaging>pom</packaging>" $module/pom.xml > /dev/null
-    if [ "$?" != 0 ]; then
+    if [ "$?" != 0 ] || [ "$module" == "ambari-web" ]; then # ambari-web is packing = pom but has unit tests
       CHANGED_MODULES="$CHANGED_MODULES $module"
     fi
   done