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