Skip to content

Commit deedeed

Browse files
committed
update on pom.xml to run tests in parallel
1 parent 609f853 commit deedeed

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,19 @@
190190
</compilerArgs>
191191
</configuration>
192192
</plugin>
193+
194+
<plugin>
195+
<groupId>org.apache.maven.plugins</groupId>
196+
<artifactId>maven-surefire-plugin</artifactId>
197+
<version>3.2.5</version> <!-- Use latest stable -->
198+
<configuration>
199+
<forkCount>1C</forkCount> <!-- 1 JVM per CPU core -->
200+
<reuseForks>true</reuseForks>
201+
<parallel>classes</parallel> <!-- or 'methods' or 'both' -->
202+
<perCoreThreadCount>true</perCoreThreadCount>
203+
<useUnlimitedThreads>true</useUnlimitedThreads>
204+
</configuration>
205+
</plugin>
193206

194207
<plugin>
195208
<groupId>org.jenkins-ci.tools</groupId>

0 commit comments

Comments
 (0)