mirror of https://github.com/apache/lucene.git
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:
parent
183eef908b
commit
cc199eb1af
|
@ -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.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue