tests: ignore expected exceptions

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926768 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2010-03-23 20:44:05 +00:00
parent 2445887673
commit 234c46008a
2 changed files with 3 additions and 2 deletions

View File

@ -111,6 +111,7 @@ public abstract class BaseDistributedSearchTestCase extends TestCase {
@Override
public void setUp() throws Exception {
SolrTestCaseJ4.resetExceptionIgnores(); // ignore anything with ignore_exception in it
super.setUp();
System.setProperty("solr.test.sys.prop1", "propone");
System.setProperty("solr.test.sys.prop2", "proptwo");

View File

@ -50,8 +50,8 @@ public class TestDistributedSearch extends BaseDistributedSearchTestCase {
String tdate = "n_tdt";
String oddField="oddField_s";
String missingField="missing_but_valid_field_t";
String invalidField="invalid_field_not_in_schema";
String missingField="ignore_exception__missing_but_valid_field_t";
String invalidField="ignore_exception__invalid_field_not_in_schema";
@Override
public void doTest() throws Exception {