[SERVER-39305] Update resmoke to support new repeatTests options Created: 31/Jan/19  Updated: 29/Oct/23  Resolved: 14/Feb/19

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.1.9

Type: New Feature Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-38911 POC: Repeat resmoke tasks for a speci... Closed
is related to SERVER-40671 Resmoke does not parallelize executio... Closed
Backwards Compatibility: Fully Compatible
Sprint: DAG 2019-02-25
Participants:
Story Points: 2

 Description   

Add the following new options to control test repetition:

  • --repeatTestsTimeSecs
  • --repeatTestsMax

These options help repeat a test until the --repeatTestsTimeSecs is reached. The default value, None, indicates no time limit specified and resmoke uses the --repeatTests value. An additional parameter, --repeatTestsMax, which would be used in conjunction with --repeatTests (minimum number of repetitions) to bound the --repeatTestsTimeSecs between these values. The test runs as follows:

  • At least --repeatTests times
  • Stops repeating when either the --repeatTestsTimeSecs or --repeatTestsMax is reached

See SERVER-38911 for a proof of concept of this option.



 Comments   
Comment by Githook User [ 14/Feb/19 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-39305 Add --repeatTestsSecs, --repeatTestsMin & --repeatTestsMax options to resmoke
Branch: master
https://github.com/mongodb/mongo/commit/b494c59557d464d1e13f7c36e7148b48e4d87208

Comment by Jonathan Abrahams [ 07/Feb/19 ]

I prefer --repeatTestsSecs as the option name.

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