diff options
author | Hans Nilsson <[email protected]> | 2016-05-03 15:34:46 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-05-03 15:35:16 +0200 |
commit | 5762a0299f9b55ab313b78bb6cecdad083e7ec7a (patch) | |
tree | eb6c0f61b2ef4e8b2600a6e03e661378317276d3 /lib | |
parent | 4009859d6a10cd73ba55d49f1f033459d2b99c89 (diff) | |
download | otp-5762a0299f9b55ab313b78bb6cecdad083e7ec7a.tar.gz otp-5762a0299f9b55ab313b78bb6cecdad083e7ec7a.tar.bz2 otp-5762a0299f9b55ab313b78bb6cecdad083e7ec7a.zip |
ssh: update ssh_benchmark_SUITE to new ssh_connection_handler
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssh/test/ssh_benchmark_SUITE.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ssh/test/ssh_benchmark_SUITE.erl b/lib/ssh/test/ssh_benchmark_SUITE.erl index 1f11fee350..d9be1a32b7 100644 --- a/lib/ssh/test/ssh_benchmark_SUITE.erl +++ b/lib/ssh/test/ssh_benchmark_SUITE.erl @@ -334,16 +334,16 @@ find_time(accept_to_hello, L) -> C#call.t_call end, ?LINE, - fun(C=#call{mfa = {ssh_connection_handler,handle_event,5}, - args = [_, {version_exchange,_}, _, {hello,_}, _]}) -> + fun(C=#call{mfa = {ssh_connection_handler,handle_event,4}, + args = [_, {version_exchange,_}, {hello,_}, _]}) -> C#call.t_call end, ?LINE ], L, []), {accept_to_hello, now2micro_sec(now_diff(T1,T0)), microsec}; find_time(kex, L) -> - [T0,T1] = find([fun(C=#call{mfa = {ssh_connection_handler,handle_event,5}, - args = [_, {version_exchange,_}, _, {hello,_}, _]}) -> + [T0,T1] = find([fun(C=#call{mfa = {ssh_connection_handler,handle_event,4}, + args = [_, {version_exchange,_}, {hello,_}, _]}) -> C#call.t_call end, ?LINE, @@ -466,8 +466,8 @@ erlang_trace() -> {ssh_message,decode,1}, {public_key,dh_gex_group,4} % To find dh_gex group size ]], - init_trace({ssh_connection_handler,handle_event,5}, - [{['_', {version_exchange,'_'}, '_', {hello,'_'}, '_'], + init_trace({ssh_connection_handler,handle_event,4}, + [{['_', {version_exchange,'_'}, {hello,'_'}, '_'], [], [return_trace]}]), {ok, TracerPid}. |