Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-799

Allow test parallelisation when forkMode=always

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.10
    • 2.12
    • process forking
    • None
    • all

    Description

      Surefire already allows:

      • forking
      • parallelization within a JVM

      Mixing both features would mean forking multiple JVM instead of only one.
      It would allow to parallelize tests that need to be executed in a separate JVM (i.e.: with forkMode=always). Usually these tests take longer than the simple ones. In our case, 40% of the tests are executed in 4 minutes, the other 60% need two hours. So it's obviously more interesting to parallelize the former, but these ones need to fork.

      Attachments

        1. surefire_799_212_trunk.patch
          8 kB
          Nicolas Liochon
        2. surefire_799.v2.patch
          15 kB
          Nicolas Liochon

        Issue Links

          Activity

            People

              krosenvold Kristian Rosenvold
              nkeywal Nicolas Liochon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: