mirror of https://github.com/apache/lucene.git
tests: close writer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026606 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c74daf63d1
commit
ac71187c4e
|
@ -130,10 +130,12 @@ public class TestConfig extends SolrTestCaseJ4 {
|
||||||
return writer;
|
return writer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
IndexWriter writer = new ExposeWriterHandler().getWriter();
|
ExposeWriterHandler duh = new ExposeWriterHandler();
|
||||||
|
IndexWriter writer = duh.getWriter();
|
||||||
int interval = writer.getTermIndexInterval();
|
int interval = writer.getTermIndexInterval();
|
||||||
assertEquals(256, interval);
|
assertEquals(256, interval);
|
||||||
|
duh.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue