quantranhong1999 commented on code in PR #2814:
URL: https://github.com/apache/james-project/pull/2814#discussion_r2356031291


##########
mailbox/opensearch/pom.xml:
##########
@@ -165,4 +165,16 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <reuseForks>true</reuseForks>
+                    <forkCount>2</forkCount>

Review Comment:
   I tried locally with `mvn surefire:test` (so no parallelism) , and adding 
forkCount = 2 would help me gain around 25% test time for a module. E.g 5 
minute -> 3.5 minute. So I think increasing forkCount does help.
   
   BTW, `forkCount` tuning seems classic in our project.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to