Skip to content

Commit

Permalink
add comment to QC handle_exit test
Browse files Browse the repository at this point in the history
  • Loading branch information
argv0 committed Apr 13, 2011
1 parent 2a5ab81 commit b9e8d78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/core_vnode_eqc.erl
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ postcondition(_From,_To,_S,
Index =:= ReplyIndex;
postcondition(_From,_To,#qcst{crash_reasons=CRs},
{call,mock_vnode,get_crash_reason,[{Index,_Node}]},{ok, Reason}) ->
%% there is the potential for a race here if get_crash_reason is called
%% before the EXIT signal is sent to the vnode, but it didn't appear
%% even with 1k tests - just a note in case a heisenbug rears its head
%% on some future, less deterministic day.
orddict:fetch(Index, CRs) =:= Reason;
postcondition(_From,_To,#qcst{counters=Counters},
{call,mock_vnode,get_counter,[{Index,_Node}]},{ok,ReplyCount}) ->
Expand Down

0 comments on commit b9e8d78

Please sign in to comment.