lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1139202 - in /lucene/dev/branches/lucene_solr_3_3: ./ lucene/ lucene/backwards/ lucene/backwards/src/test-framework/ lucene/backwards/src/test/ lucene/src/test/org/apache/lucene/index/TestFieldsReader.java solr/
Date Fri, 24 Jun 2011 08:39:06 GMT
Author: rmuir
Date: Fri Jun 24 08:39:06 2011
New Revision: 1139202

URL: http://svn.apache.org/viewvc?rev=1139202&view=rev
Log:
support -Dtests.iter correctly in TestFieldsReader

Modified:
    lucene/dev/branches/lucene_solr_3_3/   (props changed)
    lucene/dev/branches/lucene_solr_3_3/lucene/   (props changed)
    lucene/dev/branches/lucene_solr_3_3/lucene/backwards/   (props changed)
    lucene/dev/branches/lucene_solr_3_3/lucene/backwards/src/test/   (props changed)
    lucene/dev/branches/lucene_solr_3_3/lucene/backwards/src/test-framework/   (props changed)
    lucene/dev/branches/lucene_solr_3_3/lucene/src/test/org/apache/lucene/index/TestFieldsReader.java
    lucene/dev/branches/lucene_solr_3_3/solr/   (props changed)

Modified: lucene/dev/branches/lucene_solr_3_3/lucene/src/test/org/apache/lucene/index/TestFieldsReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_3_3/lucene/src/test/org/apache/lucene/index/TestFieldsReader.java?rev=1139202&r1=1139201&r2=1139202&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_3_3/lucene/src/test/org/apache/lucene/index/TestFieldsReader.java
(original)
+++ lucene/dev/branches/lucene_solr_3_3/lucene/src/test/org/apache/lucene/index/TestFieldsReader.java
Fri Jun 24 08:39:06 2011
@@ -63,6 +63,12 @@ public class TestFieldsReader extends Lu
     writer.addDocument(testDoc);
     writer.close();
   }
+  
+  @Override
+  public void setUp() throws Exception {
+    super.setUp();
+    FaultyIndexInput.doFail = false;
+  }
 
   @AfterClass
   public static void afterClass() throws Exception {



Mime
View raw message