SOLR-10175: Rename test so it doesn't match test glob pattern.

This commit is contained in:
markrmiller 2017-02-20 21:27:39 -05:00
parent e8f4746ec4
commit fa5851095f
3 changed files with 3 additions and 5 deletions

View File

@ -478,7 +478,7 @@ based HashBitset. -->
<propTest attr1="${solr.test.sys.prop1}-$${literal}" <propTest attr1="${solr.test.sys.prop1}-$${literal}"
attr2="${non.existent.sys.prop:default-from-config}">prefix-${solr.test.sys.prop2}-suffix</propTest> attr2="${non.existent.sys.prop:default-from-config}">prefix-${solr.test.sys.prop2}-suffix</propTest>
<queryParser name="count" class="org.apache.solr.search.TestAnalyticsQParserPlugin"/> <queryParser name="count" class="org.apache.solr.search.AnalyticsTestQParserPlugin"/>
<updateRequestProcessorChain name="dedupe"> <updateRequestProcessorChain name="dedupe">
<processor class="org.apache.solr.update.processor.SignatureUpdateProcessorFactory"> <processor class="org.apache.solr.update.processor.SignatureUpdateProcessorFactory">

View File

@ -69,7 +69,7 @@ public class AnalyticsMergeStrategyTest extends BaseDistributedSearchTestCase {
commit(); commit();
/* /*
* The count qparser plugin is pointing to the TestAnalyticsQParserPlugin. This class defines a simple AnalyticsQuery and * The count qparser plugin is pointing to AnalyticsTestQParserPlugin. This class defines a simple AnalyticsQuery and
* has two merge strategies. If the iterate local param is true then an InterativeMergeStrategy is used. * has two merge strategies. If the iterate local param is true then an InterativeMergeStrategy is used.
*/ */

View File

@ -18,7 +18,6 @@ package org.apache.solr.search;
import org.apache.lucene.search.Query; import org.apache.lucene.search.Query;
import org.apache.lucene.search.IndexSearcher; import org.apache.lucene.search.IndexSearcher;
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
import org.apache.solr.client.solrj.request.QueryRequest; import org.apache.solr.client.solrj.request.QueryRequest;
import org.apache.solr.client.solrj.response.QueryResponse; import org.apache.solr.client.solrj.response.QueryResponse;
@ -36,8 +35,7 @@ import java.util.List;
import java.util.concurrent.Future; import java.util.concurrent.Future;
import java.io.IOException; import java.io.IOException;
@AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/SOLR-10175") public class AnalyticsTestQParserPlugin extends QParserPlugin {
public class TestAnalyticsQParserPlugin extends QParserPlugin {
public QParser createParser(String query, SolrParams localParams, SolrParams params, SolrQueryRequest req) { public QParser createParser(String query, SolrParams localParams, SolrParams params, SolrQueryRequest req) {