$ luarocks install unreliablefs
is a FUSE-based fault injection filesystem that allows changing fault-injections in runtime using a simple configuration file.
Supported fault injections are:
- errinj_errno - return error value and set random errno;
- errinj_kill_caller - send SIGKILL to a process that invoked file operation;
- errinj_noop - replace file operation with no operation;
- errinj_slowdown - slowdown invoked file operation;