[SERVER-38111] Implement max_sub_suites in generate_resmoke_suite.py Created: 13/Nov/18  Updated: 29/Oct/23  Resolved: 03/Dec/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.0.5, 4.1.6

Type: Improvement Priority: Major - P3
Reporter: David Bradford (Inactive) Assignee: David Bradford (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: DAG 2018-12-17
Participants:
Story Points: 2

 Description   

The 'generate_resmoke_suite.py' file will divide all the tests in a suite into sub-suite based on their runtime and a target max runtime. There may be cases where we want to limit the number of sub-suites it should create. This work is to add an optional command line argument that allows the caller to specify the max number of sub-suites and implement logic to limit the number of sub-suites when that option is specified.

Note: If the limit is hit, it is acceptable to random assign the remaining tests into sub-suites (i.e. we don't need to optimally pack the extra suites based on runtime).



 Comments   
Comment by Githook User [ 07/Dec/18 ]

Author:

{'name': 'David Bradford', 'email': 'david.bradford@mongodb.com', 'username': 'dbradf'}

Message: SERVER-38111: Add max_sub_suites in generate_resmoke_suite

(cherry picked from commit b12875f9e31321c247cc70515d669dd71ffbf700)
Branch: v4.0
https://github.com/mongodb/mongo/commit/bafe0fffc3898aca862171ddf909aff94193a2fe

Comment by Githook User [ 03/Dec/18 ]

Author:

{'name': 'David Bradford', 'email': 'david.bradford@mongodb.com', 'username': 'dbradf'}

Message: SERVER-38111: Add max_sub_suites in generate_resmoke_suite
Branch: master
https://github.com/mongodb/mongo/commit/b12875f9e31321c247cc70515d669dd71ffbf700

Generated at Thu Feb 08 04:47:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.