SERVER-136721ClosedFixed

Fix race in TaskRunnerTest

There's a race between scheduling a task and checking that the task runner is active: if the task finishes running between when it's scheduled and when {{active}} is checked, then the task runner will not be active. We must guarantee that the task will not complete before we check.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc10248.3.169.0.7
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.