SERVER-135703ClosedFixed

FP Safety 1/5: Add relative-wait API to FailPointEnableBlock

h3. Background A failpoint's hit counter is process-wide and is never reset between tests in the same unit-test binary. So {{fpb->waitForTimesEntered(1)}} ("wait until the failpoint has been hit at least once") returns immediately if an _earlier_ test already hit it, and the wait silently does nothing. h3. What to do Add methods to {{FailPointEnableBlock}} that count only hits since the block enabled the failpoint: * {{waitForOneNewEntry()}} and {{waitForNNewEntries\(n)}} * {{timesEntered

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

No components specified.

Labels
Tags and classification
bf-46466-postmortembf-postmortemrepo:10gen/mongo