hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xu...@apache.org
Subject [39/50] [abbrv] hive git commit: HIVE-10941: Provide option to disable spark tests outside itests (Hari Sankar Sivarama Subramaniyan, reviewed by Ashutosh Chauhan)
Date Tue, 09 Jun 2015 01:57:47 GMT
HIVE-10941: Provide option to disable spark tests outside itests (Hari Sankar Sivarama Subramaniyan,
reviewed by Ashutosh Chauhan)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/29af41c7
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/29af41c7
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/29af41c7

Branch: refs/heads/spark
Commit: 29af41c7822789b178416a6b416fb87e75deda78
Parents: 8a10730
Author: Gunther Hagleitner <gunther@apache.org>
Authored: Fri Jun 5 21:48:56 2015 -0700
Committer: Gunther Hagleitner <gunther@apache.org>
Committed: Fri Jun 5 21:48:56 2015 -0700

----------------------------------------------------------------------
 pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/29af41c7/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9b40909..51b26ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,6 +74,7 @@
 
     <!-- To add additional exclude patterns set this property -->
     <test.excludes.additional></test.excludes.additional>
+    <skip.spark.files></skip.spark.files>
 
     <!-- Plugin and Plugin Dependency Versions -->
     <ant.contrib.version>1.0b3</ant.contrib.version>
@@ -825,6 +826,7 @@
             <exclude>**/TestHiveServer2Concurrency.java</exclude>
             <exclude>**/TestHiveMetaStore.java</exclude>
             <exclude>${test.excludes.additional}</exclude>
+            <exclude>%regex[${skip.spark.files}]</exclude>
           </excludes>
           <redirectTestOutputToFile>true</redirectTestOutputToFile>
           <reuseForks>false</reuseForks>
@@ -1207,5 +1209,16 @@
         <test.log4j.scheme>file:/</test.log4j.scheme>
       </properties>
     </profile>
+    <profile>
+      <id>spark-test</id>
+      <activation>
+	<property>
+          <name>!skipSparkTests</name>
+	</property>
+      </activation>
+      <properties>
+        <skip.spark.files>.*[TestSparkSessionManagerImpl|TestMultiSessionsHS2WithLocalClusterSpark|TestJdbcWithLocalClusterSpark].class</skip.spark.files>
+      </properties>
+    </profile>
   </profiles>
 </project>


Mime
View raw message