Closed glorv closed 2 years ago
Please answer these questions before submitting your issue. Thanks!
What did you do? If possible, provide a recipe for reproducing the error. demo code:
f := func(g func() error) {} f(func() error { failpoint.Inject("with-in-a-clusure", func() { failpoint.Return(errors.New("mock err")) }) return nil })
exec failpoint-ctl enable, the failpoint.Inject remains unchanged.
failpoint-ctl enable
failpoint.Inject
What did you expect to see?
What did you see instead?
Versions of the failpoint
duplicated with #70
Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you do? If possible, provide a recipe for reproducing the error. demo code:
exec
failpoint-ctl enable
, thefailpoint.Inject
remains unchanged.What did you expect to see?
What did you see instead?
Versions of the failpoint