You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2012/04/10 01:04:26 UTC
svn commit: r1311516 -
/directory/apacheds/branches/index-work/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java
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();
}