asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mb...@apache.org
Subject asterixdb git commit: += skip.surefire.tests
Date Wed, 07 Jun 2017 23:14:55 GMT
Repository: asterixdb
Updated Branches:
  refs/heads/master 21bccfef4 -> dd920be6e


+= skip.surefire.tests

Add option to enable skipping only surefire tests, allowing integration
tests to run

Change-Id: I846bcc66cef115c572c75188f952bacc4b9858aa
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1810
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Yingyi Bu <buyingyi@gmail.com>
Reviewed-by: Ian Maxon <imaxon@apache.org>


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

Branch: refs/heads/master
Commit: dd920be6e0f2d1f56d845bd7f5f2de656d9e79b9
Parents: 21bccfe
Author: Michael Blow <mblow@apache.org>
Authored: Wed Jun 7 15:04:33 2017 -0400
Committer: Michael Blow <mblow@apache.org>
Committed: Wed Jun 7 16:14:24 2017 -0700

----------------------------------------------------------------------
 .../asterix/test/runtime/LangExecutionUtil.java |  3 ---
 asterixdb/pom.xml                               | 28 ++++----------------
 hyracks-fullstack/pom.xml                       |  3 +++
 3 files changed, 8 insertions(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/dd920be6/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/LangExecutionUtil.java
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/LangExecutionUtil.java
b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/LangExecutionUtil.java
index ec8333a..be84bc3 100644
--- a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/LangExecutionUtil.java
+++ b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/LangExecutionUtil.java
@@ -41,13 +41,10 @@ import org.apache.commons.lang3.StringUtils;
 import org.apache.hyracks.api.io.IODeviceHandle;
 import org.apache.hyracks.control.common.utils.ThreadDumpHelper;
 import org.apache.hyracks.control.nc.NodeControllerService;
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
 
 /**
  * Utils for running SQL++ or AQL runtime tests.
  */
-@RunWith(Parameterized.class)
 public class LangExecutionUtil {
 
     private static final String PATH_ACTUAL = "target" + File.separator + "rttest" + File.separator;

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/dd920be6/asterixdb/pom.xml
----------------------------------------------------------------------
diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index cc06150..b708187 100644
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@ -43,21 +43,20 @@
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <file.encoding>UTF-8</file.encoding>
     <jvm.extraargs />
     <jdk.version>1.8</jdk.version>
     <runSlowAQLTests>false</runSlowAQLTests>
     <appendedResourcesDirectory>${basedir}/src/main/appended-resources</appendedResourcesDirectory>
     <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
     <debug.suspend.flag>n</debug.suspend.flag>
+    <skip.surefire.tests>${skipTests}</skip.surefire.tests>
 
     <!-- Definition of tests in various categories which may be excluded -->
-    <optimizer.tests>**/optimizer/**/*Test.java</optimizer.tests>
-    <metadata.tests>**/metadata/*Test.java</metadata.tests>
-    <execution.tests>**/ExecutionTest.java</execution.tests>
     <repeated.tests>**/RepeatedTest.java</repeated.tests>
     <invalid.tests>**/DmlTest.java</invalid.tests>
-    <global.test.includes>**/*TestSuite.java,**/*Test.java,${execution.tests}</global.test.includes>
-    <global.test.excludes>${optimizer.tests},${metadata.tests},${invalid.tests},${repeated.tests}</global.test.excludes>
+    <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
+    <global.test.excludes>${invalid.tests},${repeated.tests}</global.test.excludes>
 
     <failsafe.test.excludes>**/DmlRecoveryIT.java</failsafe.test.excludes>
     <cluster.test.excludes>**/AsterixClusterLifeCycleIT.java</cluster.test.excludes>
@@ -107,6 +106,7 @@
           <excludes>
             <exclude>${global.test.excludes},${test.excludes}</exclude>
           </excludes>
+          <skipTests>${skip.surefire.tests}</skipTests>
         </configuration>
       </plugin>
       <plugin>
@@ -443,24 +443,6 @@
       </properties>
     </profile>
     <profile>
-      <id>optimizer-tests</id>
-      <properties>
-        <optimizer.tests />
-      </properties>
-    </profile>
-    <profile>
-      <id>metadata-tests</id>
-      <properties>
-        <metadata.tests />
-      </properties>
-    </profile>
-    <profile>
-      <id>execution-tests</id>
-      <properties>
-        <execution.tests />
-      </properties>
-    </profile>
-    <profile>
       <id>invalid-tests</id>
       <properties>
         <invalid.tests />

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/dd920be6/hyracks-fullstack/pom.xml
----------------------------------------------------------------------
diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml
index b6d482e..08aae02 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -51,10 +51,12 @@
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <file.encoding>UTF-8</file.encoding>
     <jdk.version>1.8</jdk.version>
     <jvm.extraargs />
     <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
     <source-format.skip>false</source-format.skip>
+    <skip.surefire.tests>${skipTests}</skip.surefire.tests>
 
     <!-- Definition of tests in various categories which may be excluded -->
     <hanging.pregelix.tests>**/pregelix/**/FailureRecovery*.java</hanging.pregelix.tests>
@@ -256,6 +258,7 @@
           <excludes combine.children="append">
             <exclude>${global.test.excludes},${test.excludes}</exclude>
           </excludes>
+          <skipTests>${skip.surefire.tests}</skipTests>
         </configuration>
       </plugin>
       <plugin>


Mime
View raw message