mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

This commit adds a new option -failure-wrapper to etcd-tester. The option receives a path of script that is used for enabling/disabling external fault injectors. The script is called with an option "enable" when it needs to be enabled (when failure.Inject() is called) and called with "disabled" in an opposite case (when failure.Recover() is called).