pub fn with_commit_failure<F, T>(f: F) -> Twhere F: FnOnce() -> T,
Run f with a one-shot commit failure armed. Injection is automatically disabled after the closure returns.
f