aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-06-27 16:11:04 +0200
committerLukas Larsson <[email protected]>2019-06-27 16:27:19 +0200
commitb942df8593b6295e61eb767008d6e93a2cc34665 (patch)
treef0917dd03ed2eccec62e28511debe9c530902834 /erts
parent2c445bcb04d2d5d3537b31ac93007b03f26695f9 (diff)
downloadotp-b942df8593b6295e61eb767008d6e93a2cc34665.tar.gz
otp-b942df8593b6295e61eb767008d6e93a2cc34665.tar.bz2
otp-b942df8593b6295e61eb767008d6e93a2cc34665.zip
erts: Reduce test time for multi_load in valgrind
The previous test amount could take up to 3 hours to finish!
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/test/multi_load_SUITE.erl10
1 files changed, 9 insertions, 1 deletions
diff --git a/erts/emulator/test/multi_load_SUITE.erl b/erts/emulator/test/multi_load_SUITE.erl
index edf3205812..c79e2b6dcd 100644
--- a/erts/emulator/test/multi_load_SUITE.erl
+++ b/erts/emulator/test/multi_load_SUITE.erl
@@ -30,7 +30,15 @@ all() ->
[many,on_load,errors].
many(_Config) ->
- Ms = make_modules(100, fun many_module/1),
+
+ N = case erlang:system_info(build_type) of
+ valgrind ->
+ 10;
+ _ ->
+ 100
+ end,
+
+ Ms = make_modules(N, fun many_module/1),
io:put_chars("Light load\n"
"=========="),