Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2489

Use surefire parallel forks to speed up specific projects

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • Build System
    • None

    Description

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

      [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]
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: