[SERVER-84708] Make RotateCertificate unit tests reset the sslGlobalParams after each test Created: 09/Jan/24 Updated: 16/Jan/24 Resolved: 16/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Erin McNulty | Assignee: | Erin McNulty |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Service Arch 2024-01-22 | ||||
| Participants: | |||||
| Linked BF Score: | 158 | ||||
| Description |
|
Right now, we update the sslGlobalParams to reference a temp directory with certificates in them so that we can overwrite the certificates and simulate rotation. However, we do not reset the sslGlobalParams after the test, which causes future tests to attempt to use ssl with the now deleted TempDir paths. Reset the ssl certificate information after each test, so that future tests do not reference the invalid directories. |
| Comments |
| Comment by Githook User [ 12/Jan/24 ] |
|
Author: {'name': 'Erin McNulty', 'email': 'erin.mcnulty@mongodb.com', 'username': 'erin2722'}Message: GitOrigin-RevId: e318355eae5e1e56f7fedcd9680861b39e302128 |