You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by mr...@apache.org on 2015/07/15 11:47:57 UTC

svn commit: r1691151 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentStorePerformanceTest.java

Author: mreutegg
Date: Wed Jul 15 09:47:57 2015
New Revision: 1691151

URL: http://svn.apache.org/r1691151
Log:
OAK-3106: DocumentStorePerformanceTest collects duplicate ids to remove

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentStorePerformanceTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentStorePerformanceTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentStorePerformanceTest.java?rev=1691151&r1=1691150&r2=1691151&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentStorePerformanceTest.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentStorePerformanceTest.java Wed Jul 15 09:47:57 2015
@@ -72,6 +72,7 @@ public class DocumentStorePerformanceTes
         List<String> ids = new ArrayList<String>();
 
         while (System.currentTimeMillis() < end) {
+            ids.clear();
             List<UpdateOp> ups = new ArrayList<UpdateOp>();
             for (int i = 0; i < amount; i++) {
                 String id = this.getClass().getName() + ".testCreatePerf-" + size + "-" + cnt + "-" + i;