lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1372046 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/core/ lucene/core/src/test/org/apache/lucene/index/TestDirectoryReader.java
Date Sun, 12 Aug 2012 01:41:59 GMT
Author: rmuir
Date: Sun Aug 12 01:41:58 2012
New Revision: 1372046

URL: http://svn.apache.org/viewvc?rev=1372046&view=rev
Log:
fix test to actually compare index1 vs index2, not index1 against itself

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/core/   (props changed)
    lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestDirectoryReader.java

Modified: lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestDirectoryReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestDirectoryReader.java?rev=1372046&r1=1372045&r2=1372046&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestDirectoryReader.java
(original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestDirectoryReader.java
Sun Aug 12 01:41:58 2012
@@ -613,7 +613,7 @@ public void testFilesOpenClose() throws 
     
     // check dictionary and posting lists
     FieldsEnum fenum1 = MultiFields.getFields(index1).iterator();
-    FieldsEnum fenum2 = MultiFields.getFields(index1).iterator();
+    FieldsEnum fenum2 = MultiFields.getFields(index2).iterator();
     String field1 = null;
     Bits liveDocs = MultiFields.getLiveDocs(index1);
     while((field1=fenum1.next()) != null) {



Mime
View raw message