This is an automated email from the ASF dual-hosted git repository. aajisaka pushed a commit to branch branch-2.8 in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-2.8 by this push: new 1ffe08b HADOOP-16808. Use forkCount and reuseForks parameters instead of forkMode in the config of maven surefire plugin. Contributed by Xieming Li. 1ffe08b is described below commit 1ffe08b45bef6bc42d4fc961a3a2dbe98417bde7 Author: Akira Ajisaka <aajis...@apache.org> AuthorDate: Tue Jan 21 18:03:24 2020 +0900 HADOOP-16808. Use forkCount and reuseForks parameters instead of forkMode in the config of maven surefire plugin. Contributed by Xieming Li. (cherry picked from commit f6d20daf404fab28b596171172afa4558facb504) --- hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml | 3 ++- hadoop-tools/hadoop-distcp/pom.xml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml index b345c9d..10184ad 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml @@ -416,7 +416,8 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> - <forkMode>once</forkMode> + <forkCount>1</forkCount> + <reuseForks>true</reuseForks> <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds> <systemPropertyVariables> <java.security.krb5.conf>${project.build.directory}/test-classes/krb5.conf</java.security.krb5.conf> diff --git a/hadoop-tools/hadoop-distcp/pom.xml b/hadoop-tools/hadoop-distcp/pom.xml index a42a233..11a6c38 100644 --- a/hadoop-tools/hadoop-distcp/pom.xml +++ b/hadoop-tools/hadoop-distcp/pom.xml @@ -124,7 +124,8 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> - <forkMode>always</forkMode> + <forkCount>1</forkCount> + <reuseForks>false</reuseForks> <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds> <argLine>-Xmx1024m</argLine> <includes> --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org