lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwe...@apache.org
Subject svn commit: r1598205 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
Date Thu, 29 May 2014 05:43:09 GMT
Author: dweiss
Date: Thu May 29 05:43:09 2014
New Revision: 1598205

URL: http://svn.apache.org/r1598205
Log:
SOLR-6119: a quick workaround for the problem of removing files that are still open during
the test.

Modified:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java?rev=1598205&r1=1598204&r2=1598205&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
(original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
Thu May 29 05:43:09 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.
+      }
     }
   }
 



Mime
View raw message