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

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

commit fee8217a65bdbcf2eed8b2c8a31852f84f1022ad
Author: Chesnay Schepler <ches...@apache.org>
AuthorDate: Fri Apr 1 10:15:11 2022 +0200

    [FLINK-26995][build] Enable fork-reuse for all unit tests
---
 flink-runtime/pom.xml        |  8 --------
 flink-streaming-java/pom.xml | 10 ----------
 flink-tests/pom.xml          |  1 -
 3 files changed, 19 deletions(-)

diff --git a/flink-runtime/pom.xml b/flink-runtime/pom.xml
index b58d2d04cab..c5fac3ba43c 100644
--- a/flink-runtime/pom.xml
+++ b/flink-runtime/pom.xml
@@ -282,14 +282,6 @@ under the License.
                                </configuration>
                        </plugin>
 
-                       <!-- to increase build stability here, do not reuse 
unit test JVM forks -->
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-surefire-plugin</artifactId>
-                               <configuration>
-                                       <reuseForks>false</reuseForks>
-                               </configuration>
-                       </plugin>
                        <!-- Add version to jar 
http://stackoverflow.com/questions/2712970/how-to-get-maven-artifact-version-at-runtime
                                -->
                        <plugin>
diff --git a/flink-streaming-java/pom.xml b/flink-streaming-java/pom.xml
index c90758210a0..6a9bed0478d 100644
--- a/flink-streaming-java/pom.xml
+++ b/flink-streaming-java/pom.xml
@@ -118,16 +118,6 @@ under the License.
                                </configuration>
                        </plugin>
 
-                       <!-- disable fork reuse for the streaming project, 
because of
-                       incorrect declaration of tests -->
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-surefire-plugin</artifactId>
-                               <configuration>
-                                       <reuseForks>false</reuseForks>
-                               </configuration>
-                       </plugin>
-
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jar-plugin</artifactId>
diff --git a/flink-tests/pom.xml b/flink-tests/pom.xml
index 7c71464f09b..f8a39146c3b 100644
--- a/flink-tests/pom.xml
+++ b/flink-tests/pom.xml
@@ -414,7 +414,6 @@ under the License.
                                        <!-- We override the fork behaviour for 
those expensive tests to avoid process
                                        kills due to container limits on travis 
-->
                                        
<forkCount>${flink.forkCountTestPackage}</forkCount>
-                                       <reuseForks>false</reuseForks>
                                        <environmentVariables>
                                                <!-- Make sure external hadoop 
environment will not affect maven building -->
                                                <HADOOP_HOME />

Reply via email to