mirror of https://github.com/apache/lucene.git
fix test to actually compare index1 vs index2, not index1 against itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372045 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6bc248b017
commit
00fa302942
|
@ -613,7 +613,7 @@ public void testFilesOpenClose() throws IOException {
|
||||||
|
|
||||||
// check dictionary and posting lists
|
// check dictionary and posting lists
|
||||||
FieldsEnum fenum1 = MultiFields.getFields(index1).iterator();
|
FieldsEnum fenum1 = MultiFields.getFields(index1).iterator();
|
||||||
FieldsEnum fenum2 = MultiFields.getFields(index1).iterator();
|
FieldsEnum fenum2 = MultiFields.getFields(index2).iterator();
|
||||||
String field1 = null;
|
String field1 = null;
|
||||||
Bits liveDocs = MultiFields.getLiveDocs(index1);
|
Bits liveDocs = MultiFields.getLiveDocs(index1);
|
||||||
while((field1=fenum1.next()) != null) {
|
while((field1=fenum1.next()) != null) {
|
||||||
|
|
Loading…
Reference in New Issue