Apache Solr open-source search software
tests: ignore expected exceptions
Yonik Seeley6ebd260d016b
diff --git a/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.java b/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.javaindex 6c433f9fa28..b33e0bf3fc5 100644--- a/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.java+++ b/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.java@@ -123,7 +123,9 @@ public class TermsComponentTest extends SolrTestCaseJ4 {assertTrue("handler is null and it shouldn't be", handler != null);rsp = new SolrQueryResponse();rsp.add("responseHeader", new SimpleOrderedMap());+ ignoreException("No terms.fl parameter specified");handler.handleRequest(new LocalSolrQueryRequest(core, params), rsp);+ resetExceptionIgnores();Exception exception = rsp.getException();assertTrue("exception is null and it shouldn't be", exception != null);}