machi/prototype/poc-machi/test
Scott Lystig Fritchie 0b88a12c16 WIP: Debugging cruft, egadz, but improving (see below)
So, this still pops up occasionally:

    % rebar skip_deps=true -v eunit suites=machi_flu0_test,machi_chain_manager1
    [...]
    a private: [{epoch,223},{author,a},{upi,[a,b]},{repair,[]},{down,[c]},{d,[{author_proc,react},{nodes_up,[a,b]}]},{d2,[{up_nodz,[a,b]},{hooray,{v2,{2014,11,3},{20,19,57}}}]}]
    b private: [{epoch,224},{author,b},{upi,[b,a]},{repair,[]},{down,[c]},{d,[{author_proc,react},{nodes_up,[a,b]}]},{d2,[{up_nodz,[a,b]},{hooray,{v2,{2014,11,3},{20,19,57}}}]}]
    c private: [{epoch,191},{author,c},{upi,[c]},{repair,[]},{down,[a,b]},{d,[{author_proc,react},{nodes_up,[c]}]},{d2,[{up_nodz,[c]},{hooray,{v2,{2014,11,3},{20,19,57}}}]}]

The mis-ordering between [a,b] and [b,a] happens after the partition settled
on the islands of [a,b] and [c].

    { c100 , ? LINE , _AnyOtherReturnValue } {c100,734,
                                          {err,error,
                                           {badmatch,[a,b]},
                                           from,
                                           [{epoch,70},
                                            {author,a},
                                            {upi,[a]},
                                            {repair,[b]},
                                            {down,[c]},
                                            {d,
                                             [{author_proc,react},
                                              {nodes_up,[a,b]}]},
                                            {d2,[]}],
                                           to,
                                           [{epoch,194},
                                            {author,b},
                                            {upi,[b,a]},
                                            {repair,[]},
                                            {down,[c]},
                                            {d,
                                             [{author_proc,react},
                                              {nodes_up,[a,b]}]},
                                            {d2,[]}],
                                           relative_to,a,stack,[...]
2015-03-02 20:20:18 +09:00
..
pulse_util Add src/machi_util.erl 2015-03-02 20:20:15 +09:00
corfurl_flu_test.erl Add src/machi_util.erl 2015-03-02 20:20:15 +09:00
corfurl_pulse.erl Add src/machi_util.erl 2015-03-02 20:20:15 +09:00
corfurl_sequencer_test.erl Add src/machi_util.erl 2015-03-02 20:20:15 +09:00
corfurl_test.erl Add src/machi_util.erl 2015-03-02 20:20:15 +09:00
machi_chain_manager0_test.erl Remove unused prev_epoch_num and prev_epoch_csum 2015-03-02 20:20:17 +09:00
machi_flu0_test.erl WIP: Fix flu0 name registration 2015-03-02 20:20:16 +09:00
machi_partition_simulator.erl WIP: Debugging cruft, egadz, but improving (see below) 2015-03-02 20:20:18 +09:00
machi_util_test.erl Move almost all test code to test/* modules 2015-03-02 20:20:16 +09:00