From 6ebd260d016bab3bfd777e7a402fad216f815ee3 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Tue, 23 Mar 2010 21:55:51 +0000 Subject: [PATCH] tests: ignore expected exceptions git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926807 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/solr/handler/component/TermsComponentTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.java b/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.java index 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); }