mirror of https://github.com/apache/lucene.git
SOLR-8279: Close factories in unrelated test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720624 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fe7ef38b2e
commit
e2a9b04213
|
@ -51,6 +51,7 @@ public class RAMDirectoryFactoryTest extends LuceneTestCase {
|
|||
|
||||
factory.release(dir1);
|
||||
factory.release(dir2);
|
||||
factory.close();
|
||||
}
|
||||
|
||||
private void dotestOpenSucceedForEmptyDir() throws IOException {
|
||||
|
@ -59,5 +60,6 @@ public class RAMDirectoryFactoryTest extends LuceneTestCase {
|
|||
assertNotNull("RAMDirectoryFactory should create RefCntRamDirectory even if the path doen't lead " +
|
||||
"to index directory on the file system", dir);
|
||||
factory.release(dir);
|
||||
factory.close();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue