machi_chain_manager1_pulse.erl tweaks
This commit is contained in:
parent
9ae4afa58e
commit
319397ecd2
1 changed files with 2 additions and 1 deletions
|
@ -172,6 +172,7 @@ all_list() ->
|
||||||
|
|
||||||
setup(Num, Seed) ->
|
setup(Num, Seed) ->
|
||||||
?V("\nsetup(~w,~w", [Num, Seed]),
|
?V("\nsetup(~w,~w", [Num, Seed]),
|
||||||
|
[catch erlang:garbage_collect(P) || P <- processes()],
|
||||||
All_list = lists:sublist(all_list(), Num),
|
All_list = lists:sublist(all_list(), Num),
|
||||||
All_listE = lists:sublist(all_list_extra(), Num),
|
All_listE = lists:sublist(all_list_extra(), Num),
|
||||||
%% shutdown_hard() has taken care of killing all relevant procs.
|
%% shutdown_hard() has taken care of killing all relevant procs.
|
||||||
|
@ -322,7 +323,7 @@ prop_pulse() ->
|
||||||
prop_pulse(Style) when Style == new; Style == regression ->
|
prop_pulse(Style) when Style == new; Style == regression ->
|
||||||
_ = application:start(crypto),
|
_ = application:start(crypto),
|
||||||
?FORALL({Cmds0, Seed}, {gen_commands(Style), pulse:seed()},
|
?FORALL({Cmds0, Seed}, {gen_commands(Style), pulse:seed()},
|
||||||
?IMPLIES(1 < length(Cmds0) andalso length(Cmds0) < 11,
|
?IMPLIES(length(Cmds0) < 11,
|
||||||
begin
|
begin
|
||||||
ok = shutdown_hard(),
|
ok = shutdown_hard(),
|
||||||
%% PULSE can be really unfair, of course, including having exec_ticks
|
%% PULSE can be really unfair, of course, including having exec_ticks
|
||||||
|
|
Loading…
Reference in a new issue