Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Service Arch 2022-03-07, Service Arch 2022-03-21
-
44
-
1
Description
This should address the following:
- Tests that rely on blockBatonASIOBeforePoll should query FailPointEnableBlock ::initialTimesEntered() before blocking on the fail-point.
- The main test thread should ensure the fail-point is enabled before running any blocking code that would trigger poll().
This should ensure the following sequence:
The fail-point is enabled.
The main thread then enters blocking code, internally running poll().
The thread setting the fail-point can then use FailPoint::waitForTimesEntered() to wait for the main test thread to block on the fail-point.