[SERVER-63319] Refactor test to allow health check thread to run in background Created: 04/Feb/22  Updated: 29/Oct/23  Resolved: 08/Feb/22

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

Type: Bug Priority: Major - P3
Reporter: Lamont Nelson Assignee: Lamont Nelson
Resolution: Fixed Votes: 0
Labels: sharding-nyc-subteam2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2022-02-07, Sharding 2022-02-21
Participants:
Linked BF Score: 153
Story Points: 1

 Description   

The "Stats" test in FaultManagerTest is hitting an invariant here due to relaxing the guard here to not enforce running the check concurrently in this class. The test should be refactored to allow the fault manager machinery to manage scheduling the work.



 Comments   
Comment by Githook User [ 14/Mar/22 ]

Author:

{'name': 'LaMont Nelson', 'email': 'lamont.nelson@mongodb.com', 'username': 'lamontnelson'}

Message: SERVER-63319 remove manually scheduling health checks from fault manager the test suite

(cherry picked from commit b9cadbce93e057fd03e490a31b9cf297860d68ff)
Branch: v5.0
https://github.com/mongodb/mongo/commit/8f0f84b5d7d483374622b80649a2f1dae70ee61c

Comment by Githook User [ 14/Mar/22 ]

Author:

{'name': 'LaMont Nelson', 'email': 'lamont.nelson@mongodb.com', 'username': 'lamontnelson'}

Message: SERVER-63319: Refactor FaultManager Stats test to allow health check thread to run in background

(cherry picked from commit c7fa719098c99bd0b94c478e5c74842ba11e92b5)
Branch: v5.0
https://github.com/mongodb/mongo/commit/8c77594a6a454d2a36c6e6b94e4ed36e5c3e262a

Comment by Githook User [ 08/Feb/22 ]

Author:

{'name': 'LaMont Nelson', 'email': 'lamont.nelson@mongodb.com', 'username': 'lamontnelson'}

Message: SERVER-63319 remove manually scheduling health checks from fault manager the test suite
Branch: master
https://github.com/mongodb/mongo/commit/b9cadbce93e057fd03e490a31b9cf297860d68ff

Comment by Githook User [ 07/Feb/22 ]

Author:

{'name': 'LaMont Nelson', 'email': 'lamont.nelson@mongodb.com', 'username': 'lamontnelson'}

Message: SERVER-63319: Refactor FaultManager Stats test to allow health check thread to run in background
Branch: master
https://github.com/mongodb/mongo/commit/c7fa719098c99bd0b94c478e5c74842ba11e92b5

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