[SERVER-45394] Generate selected tasks in a patch using test mappings Created: 01/Oct/19  Updated: 29/Oct/23  Resolved: 04/Feb/20

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

Type: New Feature Priority: Major - P3
Reporter: Lydia Stepanek (Inactive) Assignee: Lydia Stepanek (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: DAG 2020-01-13, DAG 2020-01-27, DAG 2020-02-10
Participants:
Story Points: 3

 Description   

As a mongoDB engineer,
I should be able to run the selected_tests_gen task,
and know that it will run all tasks for a given set of test mappings returned by selected-tests service,
So that I know all tasks that are affected by my code changes will be run


AC:

  • When I run the selected_tests_gen task in my patch build, it runs all tasks related to my file changes (using the test mappings model)
  • When I run buildscripts/selected_tests.py locally, it logs which tasks and steps are executed so that other engineers can debug any issues encountered.


 Comments   
Comment by Githook User [ 04/Feb/20 ]

Author:

{'username': 'lydiastepanek', 'name': 'Lydia Stepanek', 'email': 'lydia.stepanek@mongodb.com'}

Message: SERVER-45394 Generate selected tasks in a patch using test mappings

create mode 100644 buildscripts/patch_builds/selected_tests_service.py
create mode 100644 buildscripts/selected_tests.py
create mode 100644 buildscripts/tests/patch_builds/test_selected_tests_service.py
create mode 100644 buildscripts/tests/test_selected_tests.py
Branch: master
https://github.com/mongodb/mongo/commit/bfa494770a7bffa262ae78bbff4804faef3531c2

Comment by Lydia Stepanek (Inactive) [ 30/Jan/20 ]

https://mongodbcr.appspot.com/545060025/

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