aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-03-16 09:07:10 +0100
committerGitHub <[email protected]>2018-03-16 09:07:10 +0100
commit845dd68493a91decc32d50cc785e6afaf9dfb6c3 (patch)
treeca6c39477c10ff545b476a01d3fa2ae076e27bef /lib/common_test/src
parent9f39cf8dc59df1d1225c8264f2cdda6a432f83c1 (diff)
parentf78c3ee64cd1328a03e4680d893ebfe8e47ac8b4 (diff)
downloadotp-845dd68493a91decc32d50cc785e6afaf9dfb6c3.tar.gz
otp-845dd68493a91decc32d50cc785e6afaf9dfb6c3.tar.bz2
otp-845dd68493a91decc32d50cc785e6afaf9dfb6c3.zip
mikpe/process_info-1-no-messages/PR-1745/OTP-14986
make erlang:process_info/1 not retrieve messages
Diffstat (limited to 'lib/common_test/src')
-rw-r--r--lib/common_test/src/test_server_ctrl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/test_server_ctrl.erl b/lib/common_test/src/test_server_ctrl.erl
index a76c8c12de..4bbf290081 100644
--- a/lib/common_test/src/test_server_ctrl.erl
+++ b/lib/common_test/src/test_server_ctrl.erl
@@ -5167,7 +5167,7 @@ display_info([Pid|T], R, M) ->
Other
end,
Reds = fetch(reductions, Info),
- LM = length(fetch(messages, Info)),
+ LM = fetch(message_queue_len, Info),
pformat(io_lib:format("~w", [Pid]),
io_lib:format("~tw", [Call]),
io_lib:format("~tw", [Curr]), Reds, LM),