lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject ignore expected exceptions
Date Fri, 30 Mar 2012 00:48:27 GMT
Just a friendly reminder to remember and ignore expected exceptions in
tests so they don't get logged as SEVERE.

Sometimes it's just as easy as making sure that "ignore_exception"
appears in the exception message and it will be ignored automatically.
Otherwise, use SolrTestCaseJ4.ignoreException(String pattern)

-Yonik
lucenerevolution.com - Lucene/Solr Open Source Search Conference.
Boston May 7-10

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message