[SERVER-59203] Don't rely on mocks to test generating tasks for build variants Created: 09/Aug/21  Updated: 29/Oct/23  Resolved: 09/Aug/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.0.3, 5.1.0-rc0

Type: Bug 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
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: DAG 2021-08-23
Participants:
Linked BF Score: 35
Story Points: 1

 Description   

Some of the tests added for build variant level task generation rely on mocks to test the code. Since the code is multi-threaded this can sometime cause timing issues. There are better ways to validate the code, so we should switch to those.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 09/Aug/21 ]

Author:

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

Message: SERVER-59203: Remove assert on mocks in buildscripts_test

(cherry picked from commit 82f713b946460738ad15469c083f173ae0d1f80b)
Branch: v5.0
https://github.com/mongodb/mongo/commit/2cc4cf27e7fa3fb7a158f05f8ae1b9beab742515

Comment by Githook User [ 09/Aug/21 ]

Author:

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

Message: SERVER-59203: Remove assert on mocks in buildscripts_test
Branch: master
https://github.com/mongodb/mongo/commit/82f713b946460738ad15469c083f173ae0d1f80b

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