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 ch...@apache.org on 2017/07/06 10:23:13 UTC

svn commit: r1801013 - /jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexPlannerTest.java

Author: chetanm
Date: Thu Jul  6 10:23:13 2017
New Revision: 1801013

URL: http://svn.apache.org/viewvc?rev=1801013&view=rev
Log:
OAK-6333 - IndexPlanner should use actual entryCount instead of limiting it to 1000

Fix the test names which got mixed up

Modified:
    jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexPlannerTest.java

Modified: jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexPlannerTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexPlannerTest.java?rev=1801013&r1=1801012&r2=1801013&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexPlannerTest.java (original)
+++ jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexPlannerTest.java Thu Jul  6 10:23:13 2017
@@ -351,7 +351,7 @@ public class IndexPlannerTest {
     }
 
     @Test
-    public void propertyIndexCostActualByDefault() throws Exception{
+    public void propertyIndexCostActualOverriddenByEntryCount() throws Exception{
         NodeBuilder defn = newLucenePropertyIndexDefinition(builder, "test", of("foo"), "async");
         long entryCount = IndexDefinition.DEFAULT_ENTRY_COUNT - 100;
         defn.setProperty(IndexConstants.ENTRY_COUNT_PROPERTY_NAME, entryCount);
@@ -368,7 +368,7 @@ public class IndexPlannerTest {
     }
 
     @Test
-    public void propertyIndexCostActualOverriddenByEntryCount() throws Exception{
+    public void propertyIndexCostActualByDefault() throws Exception{
         NodeBuilder defn = newLucenePropertyIndexDefinition(builder, "test", of("foo"), "async");
 
         long numofDocs = IndexDefinition.DEFAULT_ENTRY_COUNT + 100;