-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
Labels:None
-
Fully Compatible
-
ALL
-
Service Arch 2022-03-07, Service Arch 2022-03-21
-
44
-
1
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.