lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r926768 - in /lucene/dev/trunk/solr/src/test/org/apache/solr: BaseDistributedSearchTestCase.java TestDistributedSearch.java
Date Tue, 23 Mar 2010 20:44:05 GMT
Author: yonik
Date: Tue Mar 23 20:44:05 2010
New Revision: 926768

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

Modified:
    lucene/dev/trunk/solr/src/test/org/apache/solr/BaseDistributedSearchTestCase.java
    lucene/dev/trunk/solr/src/test/org/apache/solr/TestDistributedSearch.java

Modified: lucene/dev/trunk/solr/src/test/org/apache/solr/BaseDistributedSearchTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/src/test/org/apache/solr/BaseDistributedSearchTestCase.java?rev=926768&r1=926767&r2=926768&view=diff
==============================================================================
--- lucene/dev/trunk/solr/src/test/org/apache/solr/BaseDistributedSearchTestCase.java (original)
+++ lucene/dev/trunk/solr/src/test/org/apache/solr/BaseDistributedSearchTestCase.java Tue
Mar 23 20:44:05 2010
@@ -111,6 +111,7 @@ public abstract class BaseDistributedSea
 
   @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");

Modified: lucene/dev/trunk/solr/src/test/org/apache/solr/TestDistributedSearch.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/src/test/org/apache/solr/TestDistributedSearch.java?rev=926768&r1=926767&r2=926768&view=diff
==============================================================================
--- lucene/dev/trunk/solr/src/test/org/apache/solr/TestDistributedSearch.java (original)
+++ lucene/dev/trunk/solr/src/test/org/apache/solr/TestDistributedSearch.java Tue Mar 23 20:44:05
2010
@@ -50,8 +50,8 @@ public class TestDistributedSearch exten
   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 {



Mime
View raw message