SERVER-136240ClosedFixed

Revisit new FailPointEnableBlock functions (and use of tassert)

SERVER-135703 introduced some new functions to FailPointEnableBlock to wrap waitForTimesEntered. We should revisit these names since it's been suggested that a singular {{wait(int n = 1)}} function would be a better replacement for them. In addition, the {{tassert}} should probably be {{invariant}} since there's little to no reason for test-only code to be raising {{tassert}}.

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-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.