Skip to content

Commit

Permalink
First passing test case with McErlang, after adding is_infinitely_fas…
Browse files Browse the repository at this point in the history
…t=true.

Example:

    mce:apply(slf_msgsim_qc, prop_mc_simulate2, [distrib_counter_bad1_sim, [{no_generator, true}], 1, 1, 1, [{c1, {counter_op, [s1]}}], [{c1, [], counter_client1}], [{s1, 0, counter_server1}]], #mce_opts{is_infinitely_fast=true}).

... which gives the output:

    *** Run ending. 15 states explored, stored states 13.

    Execution terminated normally.
    Table has 13 states and 14 transitions.

    Reductions: 0.01 mreds; Runtime: 0.000 seconds; 0.00 elapsed seconds
    Access result using mce:result()
    ok

This is a really small example.  If we reduce the # of ops from 1 -> 0, then
we see:

    *** Run ending. 9 states explored, stored states 9.

    Execution terminated normally.
    Table has 9 states and 8 transitions.
  • Loading branch information
slfritchie committed May 28, 2011
1 parent 7ab0445 commit b5e38e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/distrib_counter_bad1_sim.erl
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ e_counter_server_loop(Count) ->
shutdown ->
Count
end.

my_bang(Rcpt, Msg) ->
%% mce_erl:choice([
%% {fun() -> Rcpt ! Msg end, []},
Expand Down

0 comments on commit b5e38e2

Please sign in to comment.