I think this is a simple problem for a Java DevOps. I have problems with the Surefire parameter which sets the number of test execution threads.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkCount>2.5C</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
I wish I could specify an override from the command line to set it to 1.