From b942df8593b6295e61eb767008d6e93a2cc34665 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Thu, 27 Jun 2019 16:11:04 +0200 Subject: erts: Reduce test time for multi_load in valgrind The previous test amount could take up to 3 hours to finish! --- erts/emulator/test/multi_load_SUITE.erl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'erts') 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" "=========="), -- cgit v1.2.3