-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes for 'faulterl'-style fault injection #161
Conversation
Fixes include these slightly larger patches: * reshuffle to avoid var binding shadows * restrict pattern match to throw exception to catch at caller
Including: * list_data_files() fails * Fix file-scan exceptions in merge() * Fix EUnit bitcask:merge_test() * Partial merge check should be after file opens fail/succeed
Also, add minor '_ = ' pattern match to make Dialyzer happier
throw:Reason -> | ||
Reason; | ||
_X:_Y -> | ||
io:format(user, "X Y = ~p ~p\n", [_X, _Y]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debugging junk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix pushed. Any other review comments?
Any other review/fixit tasks? |
%% | ||
%% ------------------------------------------------------------------- | ||
-module(generic_qc_fsm). | ||
%% Borrowed heavily from bitcask_qc_fsm.erl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm all right with these being separate for now, but if they're very similar, should we consider merging them and then running it twice in make test, once with and one without fault injection?
+1 1cf14a1 |
Fixes for 'faulterl'-style fault injection Reviewed-by: evanmcc
@borshop: merge |
This is a rebased and squashed version of the
slf-faulterl-introduction
branch. The squashes have attempted to use roughly one commit for: