mirror of https://github.com/apache/lucene.git
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:
parent
2445887673
commit
234c46008a
|
@ -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");
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue