directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r906017 - /directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LdapSSLConnectionTest.java
Date Wed, 03 Feb 2010 11:59:51 GMT
Author: kayyagari
Date: Wed Feb  3 11:59:48 2010
New Revision: 906017

URL: http://svn.apache.org/viewvc?rev=906017&view=rev
Log:
fixed the failing test by removing the connection.close() call in fianlly block, now the connections
will be
closed as part of the unBind() call

Modified:
    directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LdapSSLConnectionTest.java

Modified: directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LdapSSLConnectionTest.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LdapSSLConnectionTest.java?rev=906017&r1=906016&r2=906017&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LdapSSLConnectionTest.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LdapSSLConnectionTest.java
Wed Feb  3 11:59:48 2010
@@ -133,20 +133,6 @@
             le.printStackTrace();
             fail();
         }
-        finally
-        {
-            try
-            {
-                if( connection != null )
-                {
-                    connection.close();
-                }
-            }
-            catch( IOException ioe )
-            {
-                fail();
-            }
-        }
     }
     
     



Mime
View raw message