Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move wait for block to fault injector
Summary: We have some code in the SaplingBackingStore tests to poll the fault injector until a fault is blocked. This is used to ensure that a fault is really blocked before we continue. It prevents tests from being flakey. I am going to need this in another test to prevent it from being flakey. So I wanna move it to a shared place. Seems like putting it on the fault injector directly makes sense. This diff is moving code, no changes to the logic. Adding a test and some changes in the next diffs. Reviewed By: jdelliot Differential Revision: D60931459 fbshipit-source-id: cfbb124edbb0645787a3c670fc0b8cc4c953dc9b
- Loading branch information