[SERVER-48296] Remove logic to repeat tests in selected_tests_gen task Created: 19/May/20  Updated: 27/Oct/23  Resolved: 27/Oct/23

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

Type: Task Priority: Major - P3
Reporter: Lydia Stepanek (Inactive) Assignee: [DO NOT ASSIGN] Backlog - Decision Automation Group (DAG) (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Decision Automation Group
Participants:
Story Points: 2

 Description   

When selected_tests runs a particular test because that test is related to the changed source file through test_mappings, it specifies a repeat argument (see here) in the same way that burn_in_tests does. (See example version here: https://evergreen.mongodb.com/version/5e385d1ba4cf473b25eabac9.) We built it this way because we were using the burn_in_tests code, but selected_tests_gen has no reason to repeat the tests, and no reason to use repeat arguments.

As a DAG engineer,
I should know that any tests that are run by tasks generated by selected_tests_gen do not have repeat-config-related arguments provided,
so the generated task config is as simple as possible and does not contain repeat arguments it doesn't need.

AC:

  • no repeat-related arguments (i.e. --repeatSuites=1, --repeat=1) passed into resmoke by selected_tests_gen

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