I have used maven-surefire-plugin in my Maven project to execute the tests in parallel. everything work great. When I have upgraded to SpringBoot 2.2.2.RELEASE and above, tests stop running in parallel. This is how I use the plugin :
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
<parallel>methods</parallel>
<useUnlimitedThreads>true</useUnlimitedThreads>
</configuration>
</plugin>
Is there a way to execute tests in parallel ? with this plug-in ?
I have uploaded a small maven project with two modules:
- a not working module with springBoot 2.2.6.RELEASE
- a working module with springBoot 1.5.9.RELEASE
Both modules are identical except SprintBoot version