[SERVER-35123] The periodic_runner_impl starts jobs immediately, unittests should reflect that Created: 21/May/18  Updated: 29/Oct/23  Resolved: 22/May/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.6.8, 4.0.0-rc1

Type: New Feature Priority: Major - P3
Reporter: Mira Carey Assignee: Mira Carey
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-34923 Replace PeriodicRunnerASIO Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Platforms 2018-05-21, Platforms 2018-06-04
Participants:
Linked BF Score: 15

 Description   

The periodic runner impl starts jobs immediately, rather than waiting for some time to pass on their first run. That's fine, and the correct behavior, but the unittest assumes that doesn't happen. The unittest needs to be updated to reflect realty



 Comments   
Comment by Githook User [ 06/Sep/18 ]

Author:

{'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}

Message: SERVER-35123 Fix periodic_runner_impl_test

The periodic runner impl starts jobs immediately, rather than waiting
for some time to pass on their first run. That's fine, and the correct
behavior, but the unittest assumes that doesn't happen. The unittest
needs to be updated to reflect realty.

(cherry picked from commit b0c577146568c6e1d51b2db29bf21f4d87e93c85)
Branch: v3.6
https://github.com/mongodb/mongo/commit/7d58026a631baba1c3b62d071238d8d56bd0302a

Comment by Githook User [ 22/May/18 ]

Author:

{'username': 'hanumantmk', 'name': 'Jason Carey', 'email': 'jcarey@argv.me'}

Message: SERVER-35123 Fix periodic_runner_impl_test

The periodic runner impl starts jobs immediately, rather than waiting
for some time to pass on their first run. That's fine, and the correct
behavior, but the unittest assumes that doesn't happen. The unittest
needs to be updated to reflect realty.

(cherry picked from commit b0c577146568c6e1d51b2db29bf21f4d87e93c85)
Branch: v4.0
https://github.com/mongodb/mongo/commit/ccbad39273355c3c20035f5a497ea9eba18a247b

Comment by Githook User [ 22/May/18 ]

Author:

{'username': 'hanumantmk', 'name': 'Jason Carey', 'email': 'jcarey@argv.me'}

Message: SERVER-35123 Fix periodic_runner_impl_test

The periodic runner impl starts jobs immediately, rather than waiting
for some time to pass on their first run. That's fine, and the correct
behavior, but the unittest assumes that doesn't happen. The unittest
needs to be updated to reflect realty.
Branch: master
https://github.com/mongodb/mongo/commit/b0c577146568c6e1d51b2db29bf21f4d87e93c85

Generated at Thu Feb 08 04:38:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.