From c8ce5437da12c363540f442d5f0210f7b1e31dbc Mon Sep 17 00:00:00 2001 From: Ramkumar Aiyengar Date: Wed, 1 Jul 2015 11:15:14 +0000 Subject: [PATCH] SOLR-7740: Fix typo bug with TestConfigOverlay git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688619 13f79535-47bb-0310-9956-ffa450edef68 --- solr/CHANGES.txt | 1 + .../src/test/org/apache/solr/core/TestConfigOverlay.java | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 8381069524e..26539f2da1f 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -268,6 +268,7 @@ Other Changes * SOLR-7712: fixed test to account for aggregate floating point precision loss (hossman) +* SOLR-7740: Fix typo bug with TestConfigOverlay (Christine Poerschke via Ramkumar Aiyengar) ================== 5.2.1 ================== diff --git a/solr/core/src/test/org/apache/solr/core/TestConfigOverlay.java b/solr/core/src/test/org/apache/solr/core/TestConfigOverlay.java index 539b68827ab..897ced89ea1 100644 --- a/solr/core/src/test/org/apache/solr/core/TestConfigOverlay.java +++ b/solr/core/src/test/org/apache/solr/core/TestConfigOverlay.java @@ -30,16 +30,16 @@ public class TestConfigOverlay extends LuceneTestCase { assertTrue(isEditableProp("updateHandler/autoCommit/maxDocs", true, null)); assertTrue(isEditableProp("updateHandler/autoCommit/maxTime", true, null)); assertTrue(isEditableProp("updateHandler/autoCommit/openSearcher", true, null)); - assertTrue(isEditableProp("updateHandler/autoCommit/maxDocs", true, null)); - assertTrue(isEditableProp("updateHandler/autoCommit/maxTime", true, null)); + assertTrue(isEditableProp("updateHandler/autoSoftCommit/maxDocs", true, null)); + assertTrue(isEditableProp("updateHandler/autoSoftCommit/maxTime", true, null)); assertTrue(isEditableProp("updateHandler/commitWithin/softCommit", true, null)); assertTrue(isEditableProp("updateHandler/indexWriter/closeWaitsForMerges", true, null)); assertTrue(isEditableProp("updateHandler.autoCommit.maxDocs", false, null)); assertTrue(isEditableProp("updateHandler.autoCommit.maxTime", false, null)); assertTrue(isEditableProp("updateHandler.autoCommit.openSearcher", false, null)); - assertTrue(isEditableProp("updateHandler.autoCommit.maxDocs", false, null)); - assertTrue(isEditableProp("updateHandler.autoCommit.maxTime", false, null)); + assertTrue(isEditableProp("updateHandler.autoSoftCommit.maxDocs", false, null)); + assertTrue(isEditableProp("updateHandler.autoSoftCommit.maxTime", false, null)); assertTrue(isEditableProp("updateHandler.commitWithin.softCommit", false, null)); assertTrue(isEditableProp("updateHandler.indexWriter.closeWaitsForMerges", false, null)); assertTrue(isEditableProp("query.useFilterForSortedQuery", false, null));