[SERVER-75616] Fix Unsynchronized createInstance Calls in MovePrimaryDonorServiceTest Created: 03/Apr/23 Updated: 29/Oct/23 Resolved: 04/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Brett Nawrocki | Assignee: | Brett Nawrocki |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-nyc-subteam1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Evergreen 2023-04-03 | ||||
| Participants: | |||||
| Linked BF Score: | 45 | ||||
| Description |
|
There have been a number of build failures due to races between calling createInstance() and then doing some other work in the unit tests. Add a sleep between creating the instance and returning it to the caller to ensure that all tests properly synchronize with the instance state if necessary. |
| Comments |
| Comment by Githook User [ 03/Apr/23 ] |
|
Author: {'name': 'Brett Nawrocki', 'email': 'brett.nawrocki@mongodb.com', 'username': 'brettnawrocki'}Message: |