jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r553529 - in /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api: SerializationTest.java TreeComparator.java
Date Thu, 05 Jul 2007 14:48:30 GMT
Author: mreutegg
Date: Thu Jul  5 07:48:29 2007
New Revision: 553529

URL: http://svn.apache.org/viewvc?view=rev&rev=553529
Log:
JCR-1008: SerializationTest leaks sessions

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SerializationTest.java
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/TreeComparator.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SerializationTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SerializationTest.java?view=diff&rev=553529&r1=553528&r2=553529
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SerializationTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SerializationTest.java
Thu Jul  5 07:48:29 2007
@@ -90,6 +90,9 @@
         if (session != null && session.isLive()) {
             session.logout();
         }
+        if (treeComparator != null) {
+            treeComparator.tearDown();
+        }
         super.tearDown();
     }
 

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/TreeComparator.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/TreeComparator.java?view=diff&rev=553529&r1=553528&r2=553529
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/TreeComparator.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/TreeComparator.java
Thu Jul  5 07:48:29 2007
@@ -70,6 +70,10 @@
         init();
     }
 
+    public void tearDown() throws Exception {
+        super.tearDown();
+    }
+
     public void setSession(Session session) {
         this.session = session;
     }



Mime
View raw message