You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/07/23 03:12:00 UTC

[jira] [Created] (JAMES-2489) Use surefire parallel forks to speed up specific projects

Tellier Benoit created JAMES-2489:
-------------------------------------

             Summary: Use surefire parallel forks to speed up  specific projects
                 Key: JAMES-2489
                 URL: https://issues.apache.org/jira/browse/JAMES-2489
             Project: James Server
          Issue Type: Improvement
          Components: Build System
            Reporter: Tellier Benoit


We have numerous [unit test/memory tests] projects that take too long to play... Here is a short list:

{code:java}
[INFO] Apache James :: Mailbox :: API ..................... SUCCESS [ 27.538 s]
[INFO] Apache James :: Mailbox :: Backup .................. SUCCESS [  9.704 s]
[INFO] Apache James :: Mailbox :: In Memory ............... SUCCESS [ 18.465 s]
[INFO] Apache James :: Mailbox :: Store Framework ......... SUCCESS [ 45.337 s]
[INFO] Apache James :: Standard Mailets ................... SUCCESS [ 50.130 s]
[INFO] Apache James :: MDN ................................ SUCCESS [ 15.874 s]
[INFO] Apache James :: Protocols :: IMAP .................. SUCCESS [ 57.378 s]
[INFO] Apache James :: Protocols :: SMTP .................. SUCCESS [ 14.847 s]
[INFO] Apache James :: Server :: Core ..................... SUCCESS [ 15.063 s]
[INFO] Apache James :: Server :: Guice Common ............. SUCCESS [ 38.345 s]
[INFO] Apache James :: Server :: Common Utilities :: Java 8 SUCCESS [ 22.571 s]
[INFO] Apache James :: Server :: Data :: File Persistence . SUCCESS [ 47.685 s]
[INFO] Apache James :: Server :: Mailets .................. SUCCESS [01:00 min]
[INFO] Apache James :: Server :: JMAP ..................... SUCCESS [01:29 min]
[INFO] Apache James :: Server :: Web Admin :: Core ........ SUCCESS [ 14.377 s]
[INFO] Apache James :: Server :: Web Admin :: data ........ SUCCESS [ 22.600 s]
[INFO] Apache James :: Server :: Web Admin :: mailbox ..... SUCCESS [ 27.755 s]
{code}

On these projects, significant test time reduction can be noticed when increasing forkCount and reusing forks, without harm.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org