Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.22.2, 3.0.0-M2
-
None
Description
Steps to reproduce:
Run the attached project with the following command:
mvn test -T2
Expected outcome:
The 'long' modules's test's shutdown hook should be called
Actual outcome:
The 'long' modules test's shutdown hook is never called
Workaround:
Use shutdown=exit configuration as below:
<plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <shutdown>exit</shutdown> </configuration> </plugin>