- Install a
standard
fuse - Install a
fault_injection
fuse which overrides the standard fuse
Notice that the ETS table is not updated correct for step 2.
fuse_eqc:install(isabella, {{standard, 1, 1}, {reset, 60000}}) -> ok.
fuse_eqc:circuit_disable(isabella) -> ok.
fuse_eqc:install(isabella,
{{fault_injection, 1.0e-19, 1, 1}, {reset, 60000}}) ->
ok.
fuse_eqc:ask_installed(isabella) ->
exit({mocking_error, unexpected}) = fuse_rand:uniform(),
- Install a fuse
- Disable said fuse
- Install a new fuse, with
fault_injection
- Ask the newly installed fuse for its state and observe it is wrong