diff options
author | Hans Nilsson <[email protected]> | 2014-09-17 17:05:13 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2014-09-18 10:09:48 +0200 |
commit | 822ed67fc53746ffe3b76ca03f88cee72977f5d0 (patch) | |
tree | 0e0fd995a43a4f2eb543c10364e57fae40f58ab4 /lib/ssh/test/property_test | |
parent | 14418409c971cf20f5db35f8ff33713b1924c20a (diff) | |
download | otp-822ed67fc53746ffe3b76ca03f88cee72977f5d0.tar.gz otp-822ed67fc53746ffe3b76ca03f88cee72977f5d0.tar.bz2 otp-822ed67fc53746ffe3b76ca03f88cee72977f5d0.zip |
Add timeout to a property test (Thanks John & Tobias @ QuviQ)
Diffstat (limited to 'lib/ssh/test/property_test')
-rw-r--r-- | lib/ssh/test/property_test/ssh_eqc_client_server.erl | 5 |
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). |