This is an automated email from the ASF dual-hosted git repository.

xiangfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 229ce867d2 Remove pinot-integration-tests from unit test suite 2 
(#11844)
229ce867d2 is described below

commit 229ce867d27fdc1a08e34114f02541eb16352939
Author: Xiang Fu <[email protected]>
AuthorDate: Fri Oct 20 15:42:54 2023 -0700

    Remove pinot-integration-tests from unit test suite 2 (#11844)
---
 .github/workflows/scripts/pr-tests/.pinot_tests_unit.sh |  4 ++--
 pinot-integration-tests/pom.xml                         | 17 +++++++++++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/scripts/pr-tests/.pinot_tests_unit.sh 
b/.github/workflows/scripts/pr-tests/.pinot_tests_unit.sh
index 7457823ffb..3a68ff722c 100755
--- a/.github/workflows/scripts/pr-tests/.pinot_tests_unit.sh
+++ b/.github/workflows/scripts/pr-tests/.pinot_tests_unit.sh
@@ -37,7 +37,7 @@ if [ "$RUN_TEST_SET" == "1" ]; then
       -pl 'pinot-core' \
       -pl 'pinot-query-planner' \
       -pl 'pinot-query-runtime' \
-      -P github-actions || exit 1
+      -P github-actions,no-integration-tests || exit 1
 fi
 if [ "$RUN_TEST_SET" == "2" ]; then
   mvn test \
@@ -48,5 +48,5 @@ if [ "$RUN_TEST_SET" == "2" ]; then
     -pl '!pinot-core' \
     -pl '!pinot-query-planner' \
     -pl '!pinot-query-runtime' \
-    -P github-actions || exit 1
+    -P github-actions,no-integration-tests || exit 1
 fi
diff --git a/pinot-integration-tests/pom.xml b/pinot-integration-tests/pom.xml
index befef765ab..3bd17bc801 100644
--- a/pinot-integration-tests/pom.xml
+++ b/pinot-integration-tests/pom.xml
@@ -62,6 +62,23 @@
   </build>
 
   <profiles>
+    <profile>
+      <id>no-integration-tests</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <skipTests>true</skipTests>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
     <profile>
       <id>integration-tests-set-1</id>
       <activation>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to