directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1311516 - /directory/apacheds/branches/index-work/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java
Date Mon, 09 Apr 2012 23:04:26 GMT
Author: elecharny
Date: Mon Apr  9 23:04:26 2012
New Revision: 1311516

URL: http://svn.apache.org/viewvc?rev=1311516&view=rev
Log:
Closing cursors in tests

Modified:
    directory/apacheds/branches/index-work/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java

Modified: directory/apacheds/branches/index-work/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/index-work/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java?rev=1311516&r1=1311515&r2=1311516&view=diff
==============================================================================
--- directory/apacheds/branches/index-work/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java
(original)
+++ directory/apacheds/branches/index-work/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java
Mon Apr  9 23:04:26 2012
@@ -198,6 +198,8 @@ public class OperationalAttributeService
         // test to make sure op attribute do not occur - this is the control
         assertNull( entry.get( "creatorsName" ) );
         assertNull( entry.get( "createTimestamp" ) );
+        
+        responses.close();
 
         // now we ask for all the op attributes and check to get them
         responses = connection.search( "ou=system", "(objectClass=*)", SearchScope.OBJECT,
"creatorsName",
@@ -210,6 +212,8 @@ public class OperationalAttributeService
 
         // We should not have any other operational Attribute
         assertNull( entry.get( "entryUuid" ) );
+        
+        responses.close();
     }
 
 



Mime
View raw message