diff options
author | Siri Hansen <[email protected]> | 2018-04-26 15:39:28 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-04-26 15:39:28 +0200 |
commit | f24a15640beef8acd832e4a3eaf20bbd3c16e38d (patch) | |
tree | 49dd393216cd670ca6a6ba57f4784bff25b4d890 /lib/stdlib/test | |
parent | bfde922a6308a7f0956cf688ab38cbdbffbba41d (diff) | |
parent | 4b97ff92a8d2d429370da40c9845199c2a68f12d (diff) | |
download | otp-f24a15640beef8acd832e4a3eaf20bbd3c16e38d.tar.gz otp-f24a15640beef8acd832e4a3eaf20bbd3c16e38d.tar.bz2 otp-f24a15640beef8acd832e4a3eaf20bbd3c16e38d.zip |
Merge pull request #1759 from sunboshan/sys-fix
[stdlib/sys.erl] Fix sys module's debug statistics not including the out message count when using gen_server:call/2.
OTP-15047
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r-- | lib/stdlib/test/sys_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/test/sys_SUITE.erl b/lib/stdlib/test/sys_SUITE.erl index b44df0fbda..a28eca513f 100644 --- a/lib/stdlib/test/sys_SUITE.erl +++ b/lib/stdlib/test/sys_SUITE.erl @@ -84,7 +84,7 @@ stats(Config) when is_list(Config) -> {ok,-44} = public_call(44), {ok,Stats} = sys:statistics(?server,get), true = lists:member({messages_in,1}, Stats), - true = lists:member({messages_out,0}, Stats), + true = lists:member({messages_out,1}, Stats), ok = sys:statistics(?server,false), {status,_Pid,{module,_Mod},[_PDict,running,Self,_,_]} = sys:get_status(?server), |