aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2012-10-31 23:31:50 +0100
committerRickard Green <[email protected]>2012-12-03 21:18:07 +0100
commit7e789df8dd9c7d86e9cc354521a37aa598aa5ec8 (patch)
tree9fee41a6df34f7bb26ce1020f6f3333bd2665d90 /erts/emulator/test
parentef302baca81ceaedbfb128fae60a42e53910f061 (diff)
downloadotp-7e789df8dd9c7d86e9cc354521a37aa598aa5ec8.tar.gz
otp-7e789df8dd9c7d86e9cc354521a37aa598aa5ec8.tar.bz2
otp-7e789df8dd9c7d86e9cc354521a37aa598aa5ec8.zip
Improve configuration of process and port tables
Diffstat (limited to 'erts/emulator/test')
-rw-r--r--erts/emulator/test/process_SUITE.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/erts/emulator/test/process_SUITE.erl b/erts/emulator/test/process_SUITE.erl
index 157589d1a4..cd13d8a81d 100644
--- a/erts/emulator/test/process_SUITE.erl
+++ b/erts/emulator/test/process_SUITE.erl
@@ -1468,14 +1468,14 @@ processes_small_tab(doc) ->
processes_small_tab(suite) ->
[];
processes_small_tab(Config) when is_list(Config) ->
- ?line {ok, SmallNode} = start_node(Config, "+P 500"),
+ ?line {ok, SmallNode} = start_node(Config, "+P 1024"),
?line Res = rpc:call(SmallNode, ?MODULE, processes_bif_test, []),
?line PBInfo = rpc:call(SmallNode,
erts_debug,
get_internal_state,
[processes_bif_info]),
?line stop_node(SmallNode),
- ?line 1 = PBInfo#ptab_list_bif_info.tab_chunks,
+ ?line true = PBInfo#ptab_list_bif_info.tab_chunks < 10,
?line chk_processes_bif_test_res(Res).
processes_this_tab(doc) ->
@@ -1589,8 +1589,8 @@ processes_bif_test() ->
?line print_processes_bif_info(PBInfo),
?line WantReds = PBInfo#ptab_list_bif_info.min_start_reds + 10,
?line WillTrap = case PBInfo of
- #ptab_list_bif_info{tab_chunks = 1} ->
- false;
+ #ptab_list_bif_info{tab_chunks = Chunks} when Chunks < 10 ->
+ false; %% Skip for small tables
#ptab_list_bif_info{tab_chunks = Chunks,
tab_chunks_size = ChunksSize,
tab_indices_per_red = IndiciesPerRed
@@ -1793,7 +1793,7 @@ do_processes_bif_die_test(N, Processes) ->
catch
throw:{kill_in_trap, R} when N > 0 ->
?t:format("Failed to kill in trap: ~p~n", [R]),
- ?t:format("Trying again~p~n", []),
+ ?t:format("Trying again~n", []),
do_processes_bif_die_test(N-1, Processes)
end.