From 822ed67fc53746ffe3b76ca03f88cee72977f5d0 Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Wed, 17 Sep 2014 17:05:13 +0200 Subject: Add timeout to a property test (Thanks John & Tobias @ QuviQ) --- lib/ssh/test/property_test/ssh_eqc_client_server.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') 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). -- cgit v1.2.3