I'd like to spread the execution of junit tests across different systems, when maven surefire is running the tests. Is this possible?
There are ~ 20,000 junit tests, and when running 5 in parallel (forks), it takes approximately 40 minutes. Running more in parallel starts to hit resource problems. If I could run half of the tests classes on a different VM (or something like kubernetes, etc), then that could cut the execution time in half.
Is this possible?