jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1521772 - /jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ReadDeepTreeTest.java
Date Wed, 11 Sep 2013 09:54:11 GMT
Author: mduerig
Date: Wed Sep 11 09:54:10 2013
New Revision: 1521772

URL: http://svn.apache.org/r1521772
Log:
OAK-1011: ReadDeepTreeTest should log session out after each test iteration

Modified:
    jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ReadDeepTreeTest.java

Modified: jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ReadDeepTreeTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ReadDeepTreeTest.java?rev=1521772&r1=1521771&r2=1521772&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ReadDeepTreeTest.java
(original)
+++ jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ReadDeepTreeTest.java
Wed Sep 11 09:54:10 2013
@@ -16,6 +16,8 @@
  */
 package org.apache.jackrabbit.oak.benchmark;
 
+import javax.jcr.Session;
+
 /**
  * Randomly read 1000 items from the deep tree.
  */
@@ -31,6 +33,8 @@ public class ReadDeepTreeTest extends Ab
 
     @Override
     protected void runTest() throws Exception {
-        randomRead(getTestSession(), allPaths, itemsToRead, true);
+        Session testSession = getTestSession();
+        randomRead(testSession, allPaths, itemsToRead, true);
+        testSession.logout();
     }
 }
\ No newline at end of file



Mime
View raw message