[SERVER-60458] Add a resmoke run flag to limit number of tests being run Created: 05/Oct/21  Updated: 29/Oct/23  Resolved: 04/Nov/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

Type: Improvement Priority: Major - P3
Reporter: Richard Samuels (Inactive) Assignee: Mikhail Shchatko
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes SERVER-64151 resmoke.py fails when running with --... Closed
Backwards Compatibility: Fully Compatible
Sprint: STM 2021-11-15
Participants:
Story Points: 2

 Description   

Add a new hidden option called 'maxTestQueueSize' to the resmoke run subcommand that limits the number of tests put into TestSuiteExecutor queue. This will be an option that people can pass in a number to.

Context

This is needed to assist with antithesis integration, where they requested that we have a way to limit the number of tests that antithesis runs for a given seed/resmoke invocation. This option should not break randomized test ordering.

 



 Comments   
Comment by Githook User [ 04/Nov/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-60458 Add a resmoke run flag to limit number of tests being run
Branch: master
https://github.com/mongodb/mongo/commit/ac364ad8d49c2b0e441065c23bf57b5de6fa0f67

Generated at Thu Feb 08 05:49:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.