You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/27 08:58:00 UTC

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

    [ https://issues.apache.org/jira/browse/SUREFIRE-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524779#comment-16524779 ] 

ASF GitHub Bot commented on SUREFIRE-1529:
------------------------------------------

gzsombor opened a new pull request #187: [SUREFIRE-1529] Implement bucketing for the test execution.
URL: https://github.com/apache/maven-surefire/pull/187
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Major
>         Attachments: SUREFIRE-1529.patch
>
>
> 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)