Apache Lucene open-source search software
SOLR-6119: a quick workaround for the problem of removing files that are still open during the test.
Dawid Weisscc199eb1af8f
diff --git a/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java b/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.javaindex 524eba52354..61d5bcfc341 100644--- a/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java+++ b/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java@@ -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.+ }}}