SERVER-98874ClosedFixed

[v5.0] Fix flaky 5.0-specific test

The v5.0-only test file, introduced in SERVER-94839 is flaky. We need to fix it

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
5.0.35
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
auto-fix-version-interrupted