You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kh...@apache.org on 2013/04/27 01:00:50 UTC

svn commit: r1476445 - /hive/branches/branch-0.11/hcatalog/build.xml

Author: khorgath
Date: Fri Apr 26 23:00:50 2013
New Revision: 1476445

URL: http://svn.apache.org/r1476445
Log:
HIVE-4420 : HCatalog unit tests stop after a failure (Alan Gates via Sushanth Sowmyan)

Modified:
    hive/branches/branch-0.11/hcatalog/build.xml

Modified: hive/branches/branch-0.11/hcatalog/build.xml
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.11/hcatalog/build.xml?rev=1476445&r1=1476444&r2=1476445&view=diff
==============================================================================
--- hive/branches/branch-0.11/hcatalog/build.xml (original)
+++ hive/branches/branch-0.11/hcatalog/build.xml Fri Apr 26 23:00:50 2013
@@ -91,18 +91,23 @@
     <target name="gen-test" description="Generate tests, a no-op for hcat"/>
 
     <target name="test" depends="jar" description="run unit tests">
-        <ant target="test" dir="core" inheritAll="false"/>
-        <ant target="test" dir="hcatalog-pig-adapter" inheritAll="false"/>
-        <ant target="test" dir="server-extensions" inheritAll="false"/>
-        <ant target="test" dir="webhcat/svr" inheritAll="false"/>
-        <ant target="test" dir="webhcat/java-client" inheritAll="false"/>
-        <ant target="test" dir="storage-handlers/hbase" inheritAll="false"/>
-        <!-- One checkstyle run for the whole repo. Runs after junit tests
-        to piggyback on resolved jars. -->
-        <path id="checkstyle.class.path">
-          <fileset dir="core/build/lib/test"/>
-        </path>
-        <antcall target="checkstyle" inheritRefs="true"/>
+        <!-- Placed in a parallel structure so that the tests keep going
+             even if some fail.  Otherwise a failure in one of the earlier ant
+             call terminates the target and the rest do not run.  -->
+        <parallel threadCount="1">
+            <ant target="test" dir="core" inheritAll="false"/>
+            <ant target="test" dir="hcatalog-pig-adapter" inheritAll="false"/>
+            <ant target="test" dir="server-extensions" inheritAll="false"/>
+            <ant target="test" dir="webhcat/svr" inheritAll="false"/>
+            <ant target="test" dir="webhcat/java-client" inheritAll="false"/>
+            <ant target="test" dir="storage-handlers/hbase" inheritAll="false"/>
+            <!-- One checkstyle run for the whole repo. Runs after junit tests
+            to piggyback on resolved jars. -->
+            <path id="checkstyle.class.path">
+                <fileset dir="core/build/lib/test"/>
+            </path>
+            <antcall target="checkstyle" inheritRefs="true"/>
+        </parallel>
     </target>
 
     <target name="compile-test" depends="jar" description="compile unit tests">