jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1527945 - /jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/XmlImportTest.java
Date Tue, 01 Oct 2013 07:10:28 GMT
Author: thomasm
Date: Tue Oct  1 07:10:27 2013
New Revision: 1527945

URL: http://svn.apache.org/r1527945
Log:
OAK-641: Improved benchmark tooling - XmlImportTest: use a different node name each time

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

Modified: jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/XmlImportTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/XmlImportTest.java?rev=1527945&r1=1527944&r2=1527945&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/XmlImportTest.java
(original)
+++ jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/XmlImportTest.java
Tue Oct  1 07:10:27 2013
@@ -25,6 +25,7 @@ public class XmlImportTest extends Abstr
 
     private Session adminSession;
     private Node testRoot;
+    private int counter;
 
     @Override
     protected void runTest() throws Exception {
@@ -36,7 +37,7 @@ public class XmlImportTest extends Abstr
     @Override
     protected void beforeTest() throws Exception {
         adminSession = loginWriter();
-        String name = getClass().getSimpleName();
+        String name = getClass().getSimpleName() + counter++;
         testRoot = adminSession.getRootNode().addNode(name, "nt:unstructured");
         adminSession.save();
     }



Mime
View raw message