diff options
author | Tim Watson <tim@rabbitmq.com> | 2014-03-21 13:12:01 +0000 |
---|---|---|
committer | Tim Watson <tim@rabbitmq.com> | 2014-03-21 13:12:01 +0000 |
commit | a8aa69cad8a1790fd90ddbd83a93a9df829c2bb7 (patch) | |
tree | 97f44e2eb8f0205b3f0148fa4d1b058712f42149 | |
parent | c4057e882982dc751799d02fcd5d9842ebe78b9a (diff) | |
download | rabbitmq-server-a8aa69cad8a1790fd90ddbd83a93a9df829c2bb7.tar.gz |
Reduce the size of the test inputs
Don't hit 110% CPU (thanks for that PropEr) and get usable failures sooner.
-rw-r--r-- | src/rabbit_trunc_term_tests.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_trunc_term_tests.erl b/src/rabbit_trunc_term_tests.erl index 2dbad6d0..26dcbde9 100644 --- a/src/rabbit_trunc_term_tests.erl +++ b/src/rabbit_trunc_term_tests.erl @@ -22,7 +22,7 @@ -include_lib("proper/include/proper.hrl"). prop_trunc_any_term() -> - ?FORALL({GenAny, MaxSz}, {gen_top_level(5000), gen_max_len()}, + ?FORALL({GenAny, MaxSz}, {gen_top_level(50), gen_max_len()}, begin %% TODO: make proper skip this SzInitial = erts_debug:size(GenAny), |