summaryrefslogtreecommitdiff
path: root/lib/ssh/test/ssh_test_lib.erl
diff options
context:
space:
mode:
authorHans Nilsson <hans@erlang.org>2020-05-25 17:42:07 +0200
committerHans Nilsson <hans@erlang.org>2020-06-01 09:12:01 +0200
commit0e47ec26ebfcdb32d8e6f82e53189c35ad71de71 (patch)
tree1bf13dad6e2358a32b798534269f755b3b1d146b /lib/ssh/test/ssh_test_lib.erl
parent422fe67cca59434d7ec78b6d03b23956b16ed8bc (diff)
downloaderlang-0e47ec26ebfcdb32d8e6f82e53189c35ad71de71.tar.gz
ssh/test: Don't test _every_ algorithm on renegotiation with otp as server
Change test case all_algorithms_sftp_exec_reneg_otp_is_server to renegotiation_otp_is_server
Diffstat (limited to 'lib/ssh/test/ssh_test_lib.erl')
-rw-r--r--lib/ssh/test/ssh_test_lib.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_test_lib.erl b/lib/ssh/test/ssh_test_lib.erl
index f16c0d6278..2645c956cf 100644
--- a/lib/ssh/test/ssh_test_lib.erl
+++ b/lib/ssh/test/ssh_test_lib.erl
@@ -728,12 +728,14 @@ get_kex_init(Conn, Ref, TRef) ->
end;
false ->
- ct:log("~p:~p Not in 'connected' state: ~p",[?MODULE,?LINE,State]),
receive
{reneg_timeout,Ref} ->
+ ct:log("~p:~p Not in 'connected' state: ~p but reneg_timeout received. Fail.",
+ [?MODULE,?LINE,State]),
ct:log("S = ~p", [S]),
ct:fail(reneg_timeout)
after 0 ->
+ ct:log("~p:~p Not in 'connected' state: ~p, Will try again after 100ms",[?MODULE,?LINE,State]),
timer:sleep(100), % If renegotiation is complete we do not
% want to exit on the reneg_timeout
get_kex_init(Conn, Ref, TRef)