Skip to content

Commit

Permalink
Use older 2.x Surefire/Failsafe test runner plugins (cryostatio#503)
Browse files Browse the repository at this point in the history
3.x  preview releases are not correctly running JUnit 5 parameterized tests in all scenarios
  • Loading branch information
andrewazores committed Jun 23, 2021
1 parent 32a7f3e commit 0c43594
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<cryostat.itest.podName>cryostat-itests</cryostat.itest.podName>

<org.apache.maven.plugins.compiler.version>3.6.1</org.apache.maven.plugins.compiler.version>
<org.apache.maven.plugins.surefire.version>3.0.0-M4</org.apache.maven.plugins.surefire.version>
<org.apache.maven.plugins.failsafe.version>3.0.0-M4</org.apache.maven.plugins.failsafe.version>
<org.apache.maven.plugins.surefire.version>2.22.2</org.apache.maven.plugins.surefire.version>
<org.apache.maven.plugins.failsafe.version>${org.apache.maven.plugins.surefire.version}</org.apache.maven.plugins.failsafe.version>
<org.apache.maven.plugins.site.version>3.8.2</org.apache.maven.plugins.site.version>
<org.apache.maven.plugins.info.reports.version>3.0.0</org.apache.maven.plugins.info.reports.version>
<org.apache.maven.plugins.clean.version>3.1.0</org.apache.maven.plugins.clean.version>
Expand Down Expand Up @@ -338,15 +338,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${org.apache.maven.plugins.surefire.version}</version>
<configuration>
<properties>
<configurationParameters>
junit.jupiter.execution.parallel.enabled=true
junit.jupiter.execution.parallel.mode.default=same_thread
junit.jupiter.execution.parallel.mode.classes.default=concurrent
</configurationParameters>
</properties>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 0c43594

Please sign in to comment.