lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r926807 - /lucene/dev/trunk/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.java
Date Tue, 23 Mar 2010 21:55:51 GMT
Author: yonik
Date: Tue Mar 23 21:55:51 2010
New Revision: 926807

URL: http://svn.apache.org/viewvc?rev=926807&view=rev
Log:
tests: ignore expected exceptions

Modified:
    lucene/dev/trunk/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.java

Modified: lucene/dev/trunk/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.java?rev=926807&r1=926806&r2=926807&view=diff
==============================================================================
--- lucene/dev/trunk/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.java
(original)
+++ lucene/dev/trunk/solr/src/test/org/apache/solr/handler/component/TermsComponentTest.java
Tue Mar 23 21:55:51 2010
@@ -123,7 +123,9 @@ public class TermsComponentTest extends 
     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);
   }



Mime
View raw message