summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-06-02 14:10:25 +0200
committerLinus Nordberg <linus@nordberg.se>2014-06-02 14:10:25 +0200
commitcade23b2057450b480e708673bd6df98800e6be0 (patch)
tree692d5109080296b3e6a396dd9f303e6226b0f203
parent950c3023d292203b4efe380df8eb9133a594071b (diff)
Fix add_more_test/0 and rename it.
One probably don't want it to be run automatically since it bloats the db.
-rw-r--r--src/plop.erl14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/plop.erl b/src/plop.erl
index 853e81a..008d15d 100644
--- a/src/plop.erl
+++ b/src/plop.erl
@@ -469,9 +469,11 @@ add_test() ->
SPTeq2 = spt(S#state.logid, S#state.privkey, TE),
?assertNotEqual(SPTeq1, SPTeq2). % DSA signatures differ!
-add_more_test() ->
- D = crypto:rand_bytes(3072),
- lists:foreach(
- fun(D) -> plop:add(#timestamped_entry
- {entry = #plop_entry{type = test, data = D}}) end,
- lists:seq(0, 200)).
+
+%% add_random_data(N, Size) ->
+%% lists:foreach(
+%% fun(_) -> plop:add(#timestamped_entry
+%% {entry = #plop_entry
+%% {type = test,
+%% data = crypto:rand_bytes(Size)}}) end,
+%% lists:seq(0, N)).