This dbtest replaces the global TickSource before running each test case, which may cause issues for background jobs that expect a stable TickSource instance in the global service context. This describes a similar problem that was addressed in SERVER-65652. One possible solution would be to create a shared instance of the MockTickSource for all the tests in QueryStageBatchedDeleteTest to access.
- is related to
-
SERVER-65652 Delegate TickSourceMock creation to ServiceContextMongoDTest
- Closed
-
SERVER-63899 Add a target batch execution time to BatchedDeleteStage
- Closed
- related to
-
SERVER-72487 race between QueryStageBatchedDeleteTest dbtest and Checkpointer background job
- Closed