Tweaks for PULSE

This commit is contained in:
Scott Lystig Fritchie 2014-11-07 01:19:05 +09:00
parent 39bee01936
commit 96f5b329c9
2 changed files with 3 additions and 2 deletions

View file

@ -775,7 +775,8 @@ react_to_env_C200(Retries, P_latest, S) ->
react_to_env_C210(Retries, #ch_mgr{name=MyName, proj=Proj} = S) -> react_to_env_C210(Retries, #ch_mgr{name=MyName, proj=Proj} = S) ->
?REACT(c210), ?REACT(c210),
sleep_ranked_order(10, 100, MyName, Proj#projection.all_members), sleep_ranked_order(2, 25, MyName, Proj#projection.all_members),
%% sleep_ranked_order(10, 100, MyName, Proj#projection.all_members),
react_to_env_C220(Retries, S). react_to_env_C220(Retries, S).
react_to_env_C220(Retries, S) -> react_to_env_C220(Retries, S) ->

View file

@ -214,7 +214,7 @@ prop_pulse() ->
%% FLU a might need one more tick to write its private projection, but %% FLU a might need one more tick to write its private projection, but
%% it isn't given a chance at the end of the PULSE run. So we cheat %% it isn't given a chance at the end of the PULSE run. So we cheat
LastTriggerTicks = {set,{var,99999997}, LastTriggerTicks = {set,{var,99999997},
{call, ?MODULE, do_ticks, [20, undefined, no, no]}}, {call, ?MODULE, do_ticks, [110, undefined, no, no]}},
Cmds1 = lists:duplicate(length(all_list()), LastTriggerTicks), Cmds1 = lists:duplicate(length(all_list()), LastTriggerTicks),
Cmds = Cmds0 ++ Cmds = Cmds0 ++
Cmds1 ++ [{set,{var,99999999}, Cmds1 ++ [{set,{var,99999999},