aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/test/map_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-05-21 17:51:30 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-05-25 11:37:42 +0200
commit6038022e55cd9e6200ae1fdb4f8f1f2debd47cd8 (patch)
tree8bd86f06be6c59a81f1a2aea3b0c4005f1a00b47 /lib/debugger/test/map_SUITE.erl
parent95dcd26589bf8e88b7076d679bc253da95a6b4e3 (diff)
downloadotp-6038022e55cd9e6200ae1fdb4f8f1f2debd47cd8.tar.gz
otp-6038022e55cd9e6200ae1fdb4f8f1f2debd47cd8.tar.bz2
otp-6038022e55cd9e6200ae1fdb4f8f1f2debd47cd8.zip
debugger: Relax test map_SUITE:t_guard_receive_large/1
Would timeout on slow machines and was unnecessary large.
Diffstat (limited to 'lib/debugger/test/map_SUITE.erl')
-rw-r--r--lib/debugger/test/map_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/debugger/test/map_SUITE.erl b/lib/debugger/test/map_SUITE.erl
index 12fdd184b8..74847e161f 100644
--- a/lib/debugger/test/map_SUITE.erl
+++ b/lib/debugger/test/map_SUITE.erl
@@ -1308,7 +1308,7 @@ t_guard_receive(Config) when is_list(Config) ->
done = call(Pid, done),
ok.
--define(t_guard_receive_large_procs, 150).
+-define(t_guard_receive_large_procs, 50).
t_guard_receive_large(Config) when is_list(Config) ->
M = lists:foldl(fun(_,#{procs := Ps } = M) ->
@@ -1326,7 +1326,7 @@ guard_receive_large_loop(M) ->
receive
#{pid := Pid, msg := hello} ->
case M of
- #{done := Count, procs := #{Pid := 150}} ->
+ #{done := Count, procs := #{Pid := 15}} ->
Pid ! {self(), done},
guard_receive_large_loop(M#{done := Count + 1});
#{procs := #{Pid := Count} = Ps} ->