SOLR-6119: a quick workaround for the problem of removing files that are still open during the test.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598205 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2014-05-29 05:43:09 +00:00
parent 183eef908b
commit cc199eb1af
1 changed files with 6 additions and 1 deletions

View File

@ -1551,7 +1551,12 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
}
}
} finally {
TestUtil.rm(snapDir);
// FIXME: SOLR-6119 This is a test bug in that it tries to remove snapDirs that are still open.
try {
TestUtil.rm(snapDir);
} catch (IOException e) {
// Ignore failures.
}
}
}