Skip to content

Commit

Permalink
Merge pull request #1669 from bmarwell/#1633_fix_IT
Browse files Browse the repository at this point in the history
[#1633] set forkCount/resuseForks instead of forkMode; surefire/failsafe 3.0.0
  • Loading branch information
cherylking authored May 7, 2023
2 parents dbd8c59 + f520e83 commit fa6c745
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions liberty-maven-plugin/src/it/dev-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.0.0-M7</version>
<version>3.0.0</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>2400</forkedProcessTimeoutInSeconds>
<argLine>-enableassertions</argLine>
<workingDirectory>${project.build.directory}</workingDirectory>
Expand Down Expand Up @@ -84,7 +85,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
<version>3.0.0</version>
<configuration>
<skip>true</skip>
</configuration>
Expand Down
7 changes: 4 additions & 3 deletions liberty-maven-plugin/src/it/generate-features-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.19.1</version>
<version>3.0.0</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>1200</forkedProcessTimeoutInSeconds>
<argLine>-enableassertions</argLine>
<workingDirectory>${project.build.directory}</workingDirectory>
Expand Down Expand Up @@ -84,7 +85,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<version>3.0.0</version>
<configuration>
<skip>true</skip>
</configuration>
Expand Down

0 comments on commit fa6c745

Please sign in to comment.