jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r761267 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SkipDeniedNodesTest.java
Date Thu, 02 Apr 2009 12:36:24 GMT
Author: thomasm
Date: Thu Apr  2 12:36:23 2009
New Revision: 761267

URL: http://svn.apache.org/viewvc?rev=761267&view=rev
Log:
JCR-1216 Unclosed session: log out to avoid stack trace in the log file.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SkipDeniedNodesTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SkipDeniedNodesTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SkipDeniedNodesTest.java?rev=761267&r1=761266&r2=761267&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SkipDeniedNodesTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SkipDeniedNodesTest.java
Thu Apr  2 12:36:23 2009
@@ -68,6 +68,11 @@
         acMgr.setPolicy(n2.getPath(), acl);
         superuser.save();
     }
+    
+    protected void tearDown() throws Exception {
+        anonymous.logout();
+        super.tearDown();
+    }
 
     public void testSkipNodes() throws RepositoryException {
         Node testNode = (Node) anonymous.getItem(testRoot);



Mime
View raw message