SERVER-139005ClosedDuplicate

Consider wrapping replSetStepUp and replSetStepDown in retry helpers in jstests

BF-46612 (deduped to BF-44771) was an issue in which {{node.adminCommand(\{replSetStepUp: 1\})}} can transiently fail. The fix was simple: wrap the command: We should consider this type of change more broadly, along with a linter.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.