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/12/01 04:24:24 UTC

[iotdb] 01/04: Revert "[To rel/1.0] Enable tests after v1.0.0 released (#8272)"

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

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

commit 942bedaca8db80bae593927ffd9f457a48e84f13
Author: HTHou <hh...@outlook.com>
AuthorDate: Thu Dec 1 12:14:07 2022 +0800

    Revert "[To rel/1.0] Enable tests after v1.0.0 released (#8272)"
    
    This reverts commit 7522b82520b3bde8202a4755b2043a75fa1752ee.
---
 confignode/pom.xml       |   2 +-
 consensus/pom.xml        |   2 +-
 cross-tests/pom.xml      |   2 +-
 integration-test/pom.xml | 212 +++++++++++++++++++++++------------------------
 integration/pom.xml      |  20 ++++-
 pom.xml                  |   2 +-
 server/pom.xml           |   2 +-
 testcontainer/pom.xml    |   2 +-
 tsfile/pom.xml           |   2 +-
 9 files changed, 131 insertions(+), 115 deletions(-)

diff --git a/confignode/pom.xml b/confignode/pom.xml
index f24c883113..c39f7bb3a0 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 7a39c31627..1437b0374f 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 6edc9e1690..c4e68359b8 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 e5e1387374..1b5addb22a 100644
--- a/integration-test/pom.xml
+++ b/integration-test/pom.xml
@@ -95,112 +95,112 @@
     <build>
         <plugins>
             <!-- skip default-test -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>default-test</id>
-                        <configuration>
-                            <skip>true</skip>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <!-- If the test starts separate processes, we should package first -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <version>${maven.assembly.version}</version>
-                <configuration>
-                    <skipAssembly>${integrationTest.launchNodeInSameJVM}</skipAssembly>
-                </configuration>
-                <executions>
-                    <!-- Package binaries-->
-                    <execution>
-                        <id>cluster-test-assembly</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>single</goal>
-                        </goals>
-                        <configuration>
-                            <descriptors>
-                                <descriptor>src/assembly/mpp-test.xml</descriptor>
-                            </descriptors>
-                            <finalName>template-node</finalName>
-                            <appendAssemblyId>false</appendAssemblyId>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>cluster-test-assembly-share</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>single</goal>
-                        </goals>
-                        <configuration>
-                            <descriptors>
-                                <descriptor>src/assembly/mpp-share.xml</descriptor>
-                            </descriptors>
-                            <finalName>template-node-share</finalName>
-                            <appendAssemblyId>false</appendAssemblyId>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
+<!--            <plugin>-->
+<!--                <groupId>org.apache.maven.plugins</groupId>-->
+<!--                <artifactId>maven-surefire-plugin</artifactId>-->
+<!--                <executions>-->
+<!--                    <execution>-->
+<!--                        <id>default-test</id>-->
+<!--                        <configuration>-->
+<!--                            <skip>true</skip>-->
+<!--                        </configuration>-->
+<!--                    </execution>-->
+<!--                </executions>-->
+<!--            </plugin>-->
+<!--            &lt;!&ndash; If the test starts separate processes, we should package first &ndash;&gt;-->
+<!--            <plugin>-->
+<!--                <groupId>org.apache.maven.plugins</groupId>-->
+<!--                <artifactId>maven-assembly-plugin</artifactId>-->
+<!--                <version>${maven.assembly.version}</version>-->
+<!--                <configuration>-->
+<!--                    <skipAssembly>${integrationTest.launchNodeInSameJVM}</skipAssembly>-->
+<!--                </configuration>-->
+<!--                <executions>-->
+<!--                    &lt;!&ndash; Package binaries&ndash;&gt;-->
+<!--                    <execution>-->
+<!--                        <id>cluster-test-assembly</id>-->
+<!--                        <phase>package</phase>-->
+<!--                        <goals>-->
+<!--                            <goal>single</goal>-->
+<!--                        </goals>-->
+<!--                        <configuration>-->
+<!--                            <descriptors>-->
+<!--                                <descriptor>src/assembly/mpp-test.xml</descriptor>-->
+<!--                            </descriptors>-->
+<!--                            <finalName>template-node</finalName>-->
+<!--                            <appendAssemblyId>false</appendAssemblyId>-->
+<!--                        </configuration>-->
+<!--                    </execution>-->
+<!--                    <execution>-->
+<!--                        <id>cluster-test-assembly-share</id>-->
+<!--                        <phase>package</phase>-->
+<!--                        <goals>-->
+<!--                            <goal>single</goal>-->
+<!--                        </goals>-->
+<!--                        <configuration>-->
+<!--                            <descriptors>-->
+<!--                                <descriptor>src/assembly/mpp-share.xml</descriptor>-->
+<!--                            </descriptors>-->
+<!--                            <finalName>template-node-share</finalName>-->
+<!--                            <appendAssemblyId>false</appendAssemblyId>-->
+<!--                        </configuration>-->
+<!--                    </execution>-->
+<!--                </executions>-->
+<!--            </plugin>-->
             <!-- Run integration tests -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-failsafe-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>integration-test</id>
-                        <goals>
-                            <goal>integration-test</goal>
-                        </goals>
-                        <configuration>
-                            <groups>${integrationTest.includedGroups}</groups>
-                            <excludedGroups>${integrationTest.excludedGroups}</excludedGroups>
-                            <useSystemClassLoader>false</useSystemClassLoader>
-                            <parallel>${integrationTest.parallelMode}</parallel>
-                            <threadCount>1</threadCount>
-                            <forkCount>${integrationTest.forkCount}</forkCount>
-                            <reuseForks>false</reuseForks>
-                            <systemPropertyVariables>
-                                <TestEnv>${integrationTest.testEnv}</TestEnv>
-                                <RandomSelectWriteNode>${integrationTest.randomSelectWriteNode}</RandomSelectWriteNode>
-                                <ReadAndVerifyWithMultiNode>${integrationTest.readAndVerifyWithMultiNode}</ReadAndVerifyWithMultiNode>
-                            </systemPropertyVariables>
-                            <summaryFile>target/failsafe-reports/failsafe-summary-IT.xml</summaryFile>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>verify</id>
-                        <goals>
-                            <goal>verify</goal>
-                        </goals>
-                        <configuration>
-                            <skipTests>false</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.apache.maven.plugins</groupId>-->
+<!--                <artifactId>maven-failsafe-plugin</artifactId>-->
+<!--                <executions>-->
+<!--                    <execution>-->
+<!--                        <id>integration-test</id>-->
+<!--                        <goals>-->
+<!--                            <goal>integration-test</goal>-->
+<!--                        </goals>-->
+<!--                        <configuration>-->
+<!--                            <groups>${integrationTest.includedGroups}</groups>-->
+<!--                            <excludedGroups>${integrationTest.excludedGroups}</excludedGroups>-->
+<!--                            <useSystemClassLoader>false</useSystemClassLoader>-->
+<!--                            <parallel>${integrationTest.parallelMode}</parallel>-->
+<!--                            <threadCount>1</threadCount>-->
+<!--                            <forkCount>${integrationTest.forkCount}</forkCount>-->
+<!--                            <reuseForks>false</reuseForks>-->
+<!--                            <systemPropertyVariables>-->
+<!--                                <TestEnv>${integrationTest.testEnv}</TestEnv>-->
+<!--                                <RandomSelectWriteNode>${integrationTest.randomSelectWriteNode}</RandomSelectWriteNode>-->
+<!--                                <ReadAndVerifyWithMultiNode>${integrationTest.readAndVerifyWithMultiNode}</ReadAndVerifyWithMultiNode>-->
+<!--                            </systemPropertyVariables>-->
+<!--                            <summaryFile>target/failsafe-reports/failsafe-summary-IT.xml</summaryFile>-->
+<!--                        </configuration>-->
+<!--                    </execution>-->
+<!--                    <execution>-->
+<!--                        <id>verify</id>-->
+<!--                        <goals>-->
+<!--                            <goal>verify</goal>-->
+<!--                        </goals>-->
+<!--                        <configuration>-->
+<!--                            <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>-->
         </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 a11052a101..e77c15a9cd 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/pom.xml b/pom.xml
index 7b20282b23..b2b08361cf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -112,7 +112,7 @@
         <module>client-cpp</module>
         <module>metrics</module>
         <module>integration</module>
-        <module>integration-test</module>
+        <!--        <module>integration-test</module>-->
         <module>consensus</module>
         <module>external-pipe-api</module>
         <module>library-udf</module>
diff --git a/server/pom.xml b/server/pom.xml
index 29924af52a..0b9180a489 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/testcontainer/pom.xml b/testcontainer/pom.xml
index be1e02620b..2754941590 100644
--- a/testcontainer/pom.xml
+++ b/testcontainer/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.iotdb</groupId>
         <artifactId>iotdb-parent</artifactId>
-        <version>1.0.1-SNAPSHOT</version>
+        <version>1.0.0-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/tsfile/pom.xml b/tsfile/pom.xml
index a5a7d4b06c..9eb4cd8e55 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>