jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpfis...@apache.org
Subject svn commit: r1333339 - /jackrabbit/oak/trunk/oak-it/mk/src/test/java/org/apache/jackrabbit/mk/test/MicroKernelImplFixture.java
Date Thu, 03 May 2012 07:53:00 GMT
Author: dpfister
Date: Thu May  3 07:52:59 2012
New Revision: 1333339

URL: http://svn.apache.org/viewvc?rev=1333339&view=rev
Log:
OAK-82 - Running MicroKernelIT test with the InMem persistence creates a lot of GC threads

Modified:
    jackrabbit/oak/trunk/oak-it/mk/src/test/java/org/apache/jackrabbit/mk/test/MicroKernelImplFixture.java

Modified: jackrabbit/oak/trunk/oak-it/mk/src/test/java/org/apache/jackrabbit/mk/test/MicroKernelImplFixture.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-it/mk/src/test/java/org/apache/jackrabbit/mk/test/MicroKernelImplFixture.java?rev=1333339&r1=1333338&r2=1333339&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-it/mk/src/test/java/org/apache/jackrabbit/mk/test/MicroKernelImplFixture.java
(original)
+++ jackrabbit/oak/trunk/oak-it/mk/src/test/java/org/apache/jackrabbit/mk/test/MicroKernelImplFixture.java
Thu May  3 07:52:59 2012
@@ -35,6 +35,9 @@ public class MicroKernelImplFixture impl
 
     @Override
     public void tearDownCluster(MicroKernel[] cluster) {
+        for (int i = 0; i < cluster.length; i++) {
+            ((MicroKernelImpl) cluster[i]).dispose();
+        }
     }
 
 }



Mime
View raw message