You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/11/29 12:21:16 UTC

[iotdb] 01/01: disable tests

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

haonan pushed a commit to branch disable_test
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 6c27661787e4a48d67fe572ac68d6c3bf908ce5f
Author: HTHou <hh...@outlook.com>
AuthorDate: Tue Nov 29 20:19:44 2022 +0800

    disable tests
---
 confignode/pom.xml       |  2 +-
 consensus/pom.xml        |  2 +-
 cross-tests/pom.xml      |  2 +-
 integration-test/pom.xml | 38 +++++++++++++++++++-------------------
 integration/pom.xml      | 20 ++++++++++++++++++--
 server/pom.xml           |  2 +-
 tsfile/pom.xml           |  2 +-
 7 files changed, 42 insertions(+), 26 deletions(-)

diff --git a/confignode/pom.xml b/confignode/pom.xml
index 20fa7d21f0..dc324b597d 100644
--- a/confignode/pom.xml
+++ b/confignode/pom.xml
@@ -30,7 +30,7 @@
     <artifactId>iotdb-confignode</artifactId>
     <name>IoTDB ConfigNode</name>
     <properties>
-        <confignode.test.skip>false</confignode.test.skip>
+        <confignode.test.skip>true</confignode.test.skip>
         <confignode.it.skip>${confignode.test.skip}</confignode.it.skip>
         <confignode.ut.skip>${confignode.test.skip}</confignode.ut.skip>
     </properties>
diff --git a/consensus/pom.xml b/consensus/pom.xml
index d68207aff8..b990e5aec0 100644
--- a/consensus/pom.xml
+++ b/consensus/pom.xml
@@ -33,7 +33,7 @@
         <maven.compiler.source>8</maven.compiler.source>
         <maven.compiler.target>8</maven.compiler.target>
         <ratis.version>2.4.1</ratis.version>
-        <consensus.test.skip>false</consensus.test.skip>
+        <consensus.test.skip>true</consensus.test.skip>
         <consensus.it.skip>${consensus.test.skip}</consensus.it.skip>
         <consensus.ut.skip>${consensus.test.skip}</consensus.ut.skip>
     </properties>
diff --git a/cross-tests/pom.xml b/cross-tests/pom.xml
index 60987ffa21..fe35596356 100644
--- a/cross-tests/pom.xml
+++ b/cross-tests/pom.xml
@@ -28,7 +28,7 @@
     <modelVersion>4.0.0</modelVersion>
     <artifactId>cross-tests</artifactId>
     <properties>
-        <cross.test.test.skip>false</cross.test.test.skip>
+        <cross.test.test.skip>true</cross.test.test.skip>
         <cross.test.it.skip>${cross.test.test.skip}</cross.test.it.skip>
         <cross.ut.skip>${cross.test.test.skip}</cross.ut.skip>
     </properties>
diff --git a/integration-test/pom.xml b/integration-test/pom.xml
index 016f563e6a..53713f352d 100644
--- a/integration-test/pom.xml
+++ b/integration-test/pom.xml
@@ -179,28 +179,28 @@
                             <goal>verify</goal>
                         </goals>
                         <configuration>
-                            <skipTests>false</skipTests>
+                            <skipTests>true</skipTests>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <version>1.6.0</version>
-                <configuration>
-                    <mainClass>org.apache.iotdb.it.framework.IoTDBTestReporter</mainClass>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>report</id>
-                        <phase>post-integration-test</phase>
-                        <goals>
-                            <goal>java</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
+<!--            <plugin>-->
+<!--                <groupId>org.codehaus.mojo</groupId>-->
+<!--                <artifactId>exec-maven-plugin</artifactId>-->
+<!--                <version>1.6.0</version>-->
+<!--                <configuration>-->
+<!--                    <mainClass>org.apache.iotdb.it.framework.IoTDBTestReporter</mainClass>-->
+<!--                </configuration>-->
+<!--                <executions>-->
+<!--                    <execution>-->
+<!--                        <id>report</id>-->
+<!--                        <phase>post-integration-test</phase>-->
+<!--                        <goals>-->
+<!--                            <goal>java</goal>-->
+<!--                        </goals>-->
+<!--                    </execution>-->
+<!--                </executions>-->
+<!--            </plugin>-->
         </plugins>
     </build>
     <profiles>
@@ -216,7 +216,7 @@
                 <integrationTest.parallelMode>classes</integrationTest.parallelMode>
             </properties>
             <activation>
-                <activeByDefault>true</activeByDefault>
+                <activeByDefault>false</activeByDefault>
             </activation>
         </profile>
         <!-- Currently RemoteIT is not working as it lacks of the remote endpoint parameters -->
diff --git a/integration/pom.xml b/integration/pom.xml
index a140b0a628..c968f434bf 100644
--- a/integration/pom.xml
+++ b/integration/pom.xml
@@ -105,6 +105,14 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-failsafe-plugin</artifactId>
+                        <configuration>
+                            <skipTests>true</skipTests>
+                            <skipITs>true</skipITs>
+                        </configuration>
+                    </plugin>
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-failsafe-plugin</artifactId>
@@ -177,7 +185,7 @@
                                     <goal>integration-test</goal>
                                 </goals>
                                 <configuration>
-                                    <skipTests>false</skipTests>
+                                    <skipTests>true</skipTests>
                                     <groups>${test.includedGroups}</groups>
                                     <excludedGroups>${test.excludedGroups}</excludedGroups>
                                     <useSystemClassLoader>false</useSystemClassLoader>
@@ -196,7 +204,7 @@
                                     <goal>verify</goal>
                                 </goals>
                                 <configuration>
-                                    <skipTests>false</skipTests>
+                                    <skipTests>true</skipTests>
                                     <summaryFiles>
                                         <summaryFile>target/failsafe-reports/failsafe-summary-Remote.xml</summaryFile>
                                     </summaryFiles>
@@ -253,6 +261,14 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-failsafe-plugin</artifactId>
+                        <configuration>
+                            <skipTests>true</skipTests>
+                            <skipITs>true</skipITs>
+                        </configuration>
+                    </plugin>
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-failsafe-plugin</artifactId>
diff --git a/server/pom.xml b/server/pom.xml
index 136fe85195..b818382391 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -30,7 +30,7 @@
     <artifactId>iotdb-server</artifactId>
     <name>IoTDB Server</name>
     <properties>
-        <iotdb.test.skip>false</iotdb.test.skip>
+        <iotdb.test.skip>true</iotdb.test.skip>
         <iotdb.it.skip>${iotdb.test.skip}</iotdb.it.skip>
         <iotdb.ut.skip>${iotdb.test.skip}</iotdb.ut.skip>
         <jjwt-api.version>0.10.8</jjwt-api.version>
diff --git a/tsfile/pom.xml b/tsfile/pom.xml
index 3ceb675f97..66569cb250 100644
--- a/tsfile/pom.xml
+++ b/tsfile/pom.xml
@@ -32,7 +32,7 @@
     <description>A columnar file format designed for time-series data</description>
     <url>https://github.com/thulab/iotdb/tree/master/tsfile</url>
     <properties>
-        <tsfile.test.skip>false</tsfile.test.skip>
+        <tsfile.test.skip>true</tsfile.test.skip>
         <tsfile.it.skip>${tsfile.test.skip}</tsfile.it.skip>
         <tsfile.ut.skip>${tsfile.test.skip}</tsfile.ut.skip>
     </properties>