You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2014/05/29 07:44:00 UTC
svn commit: r1598206 - in /lucene/dev/branches/branch_4x: ./ solr/ solr/core/
solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
Author: dweiss
Date: Thu May 29 05:43:59 2014
New Revision: 1598206
URL: http://svn.apache.org/r1598206
Log:
SOLR-6119: a quick workaround for the problem of removing files that are still open during the test.
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/solr/ (props changed)
lucene/dev/branches/branch_4x/solr/core/ (props changed)
lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
Modified: lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java?rev=1598206&r1=1598205&r2=1598206&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java (original)
+++ lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java Thu May 29 05:43:59 2014
@@ -1551,7 +1551,12 @@ public class TestReplicationHandler exte
}
}
} 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.
+ }
}
}