[SERVER-72176] MetadataManagerTest must reset `orphanCleanupDelaySecs` to the default value on teardown Created: 16/Dec/22  Updated: 29/Oct/23  Resolved: 22/Dec/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.15, 6.0.4, 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.2, v6.0, v5.0
Sprint: Sharding EMEA 2022-12-26
Participants:

 Description   

The metadata manager test fixture setup is overriding the default value of orphanCleanupDelaySecs causing all subsequent unit tests to see the newly set value.

Purpose of this ticket is to reset the default value during teardown of such fixture. Something similar to what range deleter service tests already do, but at fixture level rather than at single unit test cases level.



 Comments   
Comment by Githook User [ 09/Jan/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-72176 MetadataManagerTest must reset `orphanCleanupDelaySecs` to the default value on teardown
Branch: v6.0
https://github.com/mongodb/mongo/commit/8d7e9163ec0f6e224b033445fd94c9839ee4504c

Comment by Githook User [ 09/Jan/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-72176 MetadataManagerTest must reset `orphanCleanupDelaySecs` to the default value on teardown
Branch: v5.0
https://github.com/mongodb/mongo/commit/30fc7864997177810edfb8d5cad5d2680a3ccba7

Comment by Githook User [ 22/Dec/22 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-72176 MetadataManagerTest must reset `orphanCleanupDelaySecs` to the default value on teardown
Branch: master
https://github.com/mongodb/mongo/commit/3adaf8a55e1ad82a9a5625b4e5cc7c02267405d8

Generated at Thu Feb 08 06:21:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.