SERVER-138909Open

Lint jstests for one-shot commands

Commands like {{replSetStepDown}} can fail due to race conditions. We should therefore disallow and instead use something like For the rare cases that require that a single command succeed, we should provide a {{{}// NOLINT{}}}.  This would have caught BF-44771 and BF-46860.

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
repl-shortlist