aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2014-09-17 17:05:13 +0200
committerHans Nilsson <[email protected]>2014-09-18 10:09:48 +0200
commit822ed67fc53746ffe3b76ca03f88cee72977f5d0 (patch)
tree0e0fd995a43a4f2eb543c10364e57fae40f58ab4 /lib
parent14418409c971cf20f5db35f8ff33713b1924c20a (diff)
downloadotp-822ed67fc53746ffe3b76ca03f88cee72977f5d0.tar.gz
otp-822ed67fc53746ffe3b76ca03f88cee72977f5d0.tar.bz2
otp-822ed67fc53746ffe3b76ca03f88cee72977f5d0.zip
Add timeout to a property test (Thanks John & Tobias @ QuviQ)
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh/test/property_test/ssh_eqc_client_server.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ssh/test/property_test/ssh_eqc_client_server.erl b/lib/ssh/test/property_test/ssh_eqc_client_server.erl
index 669aa5b5e0..3030fff38b 100644
--- a/lib/ssh/test/property_test/ssh_eqc_client_server.erl
+++ b/lib/ssh/test/property_test/ssh_eqc_client_server.erl
@@ -251,8 +251,9 @@ ssh_open_connection(#srvr{address=Ip, port=Port}, DataDir) ->
[
{silently_accept_hosts, true},
{user_dir, user_dir(DataDir)},
- {user_interaction, false}
- ])).
+ {user_interaction, false},
+ {connect_timeout, 2000}
+ ], 2000)).
ssh_open_connection_post(_S, _Args, Result) -> is_ok(Result).