You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Zsombor Gegesy (JIRA)" <ji...@apache.org> on 2018/06/26 14:55:00 UTC

[jira] [Created] (SUREFIRE-1529) Implement test bucketing

Zsombor Gegesy created SUREFIRE-1529:
----------------------------------------

             Summary: Implement test bucketing
                 Key: SUREFIRE-1529
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1529
             Project: Maven Surefire
          Issue Type: New Feature
          Components: Maven Surefire Plugin
    Affects Versions: 2.22.0
            Reporter: Zsombor Gegesy


There are projects, which has hundreds or thousands of test, which took hours to complete - to paralelize this, it would be good, if tests could be partitioned automatically into buckets - of course perfect bucketization is not feasible, due to lack of knowledge of test run times (and it would be a NP-complete problem even that case).

The idea is to start tests concurrently, in different machines, something like this:
 # mvn test -DnumberOfBuckets=3 -DbucketId=0
 # mvn test -DnumberOfBuckets=3 -DbucketId=1
 # mvn test -DnumberOfBuckets=3 -DbucketId=2 

 And the results could be collected and aggregated later by external processes.

The current solution is to manually collect the tests, and generate huge command lines to do the same.

 



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