I want to add a new kind of action for fail-rs, which can help TiKV be able to stop at some statement and call one callback function that set by tests. This feature will help use more convenient to deal with some tests which need to wait for a while, because we can pass a callback to fail_point to notify test-thread to avoid waiting.
Signed-off-by: Little-Wallace bupt2013211450@gmail.com
I want to add a new kind of action for
fail-rs
, which can help TiKV be able to stop at some statement and call onecallback
function that set by tests. This feature will help use more convenient to deal with some tests which need to wait for a while, because we can pass a callback tofail_point
to notify test-thread to avoid waiting.