summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Gustavsson <bjorn@erlang.org>2015-04-08 07:22:21 +0200
committerBjörn Gustavsson <bjorn@erlang.org>2015-04-30 13:14:25 +0200
commite76849def1ea65ef4a231c04baaec04431fa081b (patch)
treed06d19a8639c96401c2fca60a1ba28accf437541
parentf52d2814ca178d75ed04b843831288275f543f90 (diff)
downloaderlang-e76849def1ea65ef4a231c04baaec04431fa081b.tar.gz
debugger test suite: Scale down t_frequency_table/1
t_frequency_table/1 would take about 40 seconds on my computer. Scale down the number of iterations 100 times to speed it up. The large number of iterations does not find any more bugs in the debugger.
-rw-r--r--lib/debugger/test/map_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debugger/test/map_SUITE.erl b/lib/debugger/test/map_SUITE.erl
index 457863d982..12fdd184b8 100644
--- a/lib/debugger/test/map_SUITE.erl
+++ b/lib/debugger/test/map_SUITE.erl
@@ -2219,7 +2219,7 @@ map_guard_sequence_mixed(K1,K2,M) ->
t_frequency_table(Config) when is_list(Config) ->
random:seed({13,1337,54}), % pseudo random
- N = 100000,
+ N = 1000,
Ts = rand_terms(N),
#{ n:=N, tf := Tf } = frequency_table(Ts,#{ n=>0, tf => #{}}),
ok = check_frequency(Ts,Tf),