mirror of https://github.com/apache/lucene.git
tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926807 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
73d4a3ec66
commit
6ebd260d01
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue