From 8cdf69c8b9925610b5d75311bcae08a06c7bde54 Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Thu, 5 Mar 2015 14:44:04 +0900 Subject: [PATCH] Remove expensive debugging diag when not needed --- .../test/machi_chain_manager1_test.erl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/prototype/chain-manager/test/machi_chain_manager1_test.erl b/prototype/chain-manager/test/machi_chain_manager1_test.erl index 204ac1e..1edd356 100644 --- a/prototype/chain-manager/test/machi_chain_manager1_test.erl +++ b/prototype/chain-manager/test/machi_chain_manager1_test.erl @@ -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],