Remove expensive debugging diag when not needed

This commit is contained in:
Scott Lystig Fritchie 2015-03-05 14:44:04 +09:00
parent f129801f29
commit 8cdf69c8b9

View file

@ -397,15 +397,15 @@ convergence_demo_test(_) ->
[DoIt(50, 10, 100) || _ <- [1,2,3,4] ],
true = private_projections_are_stable(Namez, DoIt),
io:format(user, "\nSweet, we converged to a stable state.\n", []),
PPP =
[begin
PPPallPubs = machi_flu0:proj_list_all(FLU, public),
[begin
{ok, Pr} = machi_flu0:proj_read(FLU, PPPepoch, public),
{Pr#projection.epoch_number, FLUName, Pr}
end || PPPepoch <- PPPallPubs]
end || {FLUName, FLU} <- Namez],
io:format(user, "PPP ~p\n", [lists:sort(lists:append(PPP))]),
%% PPP =
%% [begin
%% PPPallPubs = machi_flu0:proj_list_all(FLU, public),
%% [begin
%% {ok, Pr} = machi_flu0:proj_read(FLU, PPPepoch, public),
%% {Pr#projection.epoch_number, FLUName, Pr}
%% end || PPPepoch <- PPPallPubs]
%% end || {FLUName, FLU} <- Namez],
%% io:format(user, "PPP ~p\n", [lists:sort(lists:append(PPP))]),
timer:sleep(1000),
ok
end || Partition <- AllPartitionCombinations],