summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/ldap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocol-tests/ldap.rb')
-rwxr-xr-xlib/custodian/protocol-tests/ldap.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/custodian/protocol-tests/ldap.rb b/lib/custodian/protocol-tests/ldap.rb
index cec146b..5c94dd8 100755
--- a/lib/custodian/protocol-tests/ldap.rb
+++ b/lib/custodian/protocol-tests/ldap.rb
@@ -74,7 +74,7 @@ class LDAPTest
puts "LDAP testing host #{host}:#{port}" if ( @test_data['verbose'] )
begin
- timeout(3) do
+ timeout(@test_data["timeout"]) do
begin
socket = TCPSocket.new( host, port )
@@ -122,6 +122,7 @@ if __FILE__ == $0 then
"test_type" => "ldap",
"test_port" => 389,
"verbose" => 1,
+ "timeout" => 5,
"test_alert" => "LDAP is down?",
}