mirror of https://github.com/apache/lucene.git
test: close files so win can remove later
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927091 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
954add8c31
commit
3d50b42f4c
|
@ -94,6 +94,8 @@ public class TestArbitraryIndexDir extends AbstractSolrTestCase{
|
|||
} catch (Exception e) {
|
||||
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR,
|
||||
"Unable to write index.properties", e);
|
||||
} finally {
|
||||
if (os != null) os.close();
|
||||
}
|
||||
|
||||
//add a doc in the new index dir
|
||||
|
|
Loading…
Reference in New Issue