aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/process_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-12-06 21:33:32 +0100
committerBjörn-Egil Dahlberg <[email protected]>2012-12-14 15:13:00 +0100
commit438382308bd34186e48d1cbee992e6e93a8fddd2 (patch)
treed6286cf1e3ebcb899770ceaf887fd0793678fa25 /erts/emulator/test/process_SUITE.erl
parent30a65a6253a74ff6aab23142675bf2d801ba840e (diff)
downloadotp-438382308bd34186e48d1cbee992e6e93a8fddd2.tar.gz
otp-438382308bd34186e48d1cbee992e6e93a8fddd2.tar.bz2
otp-438382308bd34186e48d1cbee992e6e93a8fddd2.zip
tests: Fix heap_sizes check
Diffstat (limited to 'erts/emulator/test/process_SUITE.erl')
-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 90508a0cfa..2629bbcfdc 100644
--- a/erts/emulator/test/process_SUITE.erl
+++ b/erts/emulator/test/process_SUITE.erl
@@ -550,7 +550,7 @@ process_info_other_msg(Config) when is_list(Config) ->
{messages,[]} = process_info(Pid, messages),
{min_heap_size, 233} = process_info(Pid, min_heap_size),
- {min_bin_vheap_size, 46368} = process_info(Pid, min_bin_vheap_size),
+ {min_bin_vheap_size, 46422} = process_info(Pid, min_bin_vheap_size),
Pid ! stop,
ok.
@@ -1893,8 +1893,8 @@ process_flag_heap_size(doc) ->
process_flag_heap_size(suite) ->
[];
process_flag_heap_size(Config) when is_list(Config) ->
- HSize = 2584, % must be gc fib number
- VHSize = 317811, % must be gc fib number
+ HSize = 2586, % must be gc fib+ number
+ VHSize = 318187, % must be gc fib+ number
OldHmin = erlang:process_flag(min_heap_size, HSize),
{min_heap_size, HSize} = erlang:process_info(self(), min_heap_size),
OldVHmin = erlang:process_flag(min_bin_vheap_size, VHSize),
@@ -1908,8 +1908,8 @@ spawn_opt_heap_size(doc) ->
spawn_opt_heap_size(suite) ->
[];
spawn_opt_heap_size(Config) when is_list(Config) ->
- HSize = 987, % must be gc fib number
- VHSize = 46368, % must be gc fib number
+ HSize = 987, % must be gc fib+ number
+ VHSize = 46422, % must be gc fib+ number
Pid = spawn_opt(fun () -> receive stop -> ok end end,
[{min_heap_size, HSize},{ min_bin_vheap_size, VHSize}]),
{min_heap_size, HSize} = process_info(Pid, min_heap_size),