diff options
author | Hans Nilsson <[email protected]> | 2016-10-28 13:04:29 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-10-28 13:04:29 +0200 |
commit | 56627426e9a0ffb516a11ec2d4bd737c24fa3fd1 (patch) | |
tree | d548e6db7da3564b6d1c265c11e0f87aacd66b60 | |
parent | 520e2ab8eac8d91fd4fef56729f16614052a6655 (diff) | |
download | otp-56627426e9a0ffb516a11ec2d4bd737c24fa3fd1.tar.gz otp-56627426e9a0ffb516a11ec2d4bd737c24fa3fd1.tar.bz2 otp-56627426e9a0ffb516a11ec2d4bd737c24fa3fd1.zip |
ssh: increase timeout in test in ssh_options_SUITE
Prevents timeout before the processing is done on slow machines
-rw-r--r-- | lib/ssh/test/ssh_options_SUITE.erl | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/lib/ssh/test/ssh_options_SUITE.erl b/lib/ssh/test/ssh_options_SUITE.erl index 61883c0647..9b1ff65e64 100644 --- a/lib/ssh/test/ssh_options_SUITE.erl +++ b/lib/ssh/test/ssh_options_SUITE.erl @@ -540,10 +540,18 @@ connectfun_disconnectfun_server(Config) -> {disconnect,Ref,R} -> ct:log("Disconnect result: ~p",[R]), ssh:stop_daemon(Pid) - after 2000 -> + after 5000 -> + receive + X -> ct:log("received ~p",[X]) + after 0 -> ok + end, {fail, "No disconnectfun action"} end - after 2000 -> + after 5000 -> + receive + X -> ct:log("received ~p",[X]) + after 0 -> ok + end, {fail, "No connectfun action"} end. @@ -649,7 +657,7 @@ disconnectfun_option_server(Config) -> ct:log("Server detected disconnect: ~p",[Reason]), ssh:stop_daemon(Pid), ok - after 3000 -> + after 5000 -> receive X -> ct:log("received ~p",[X]) after 0 -> ok |