With the maven surefire plugin I can set forkMode to never – doing this speeds up execution on 1000 unit tests from 7 minutes to 1:40.
Why is this making such a difference?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I turned on debug for maven and it became clear the pom was referencing a parent pom version which was setting
forkMode=alwaysfor the surefire plugin, overriding the default value.