mirror of https://github.com/apache/lucene.git
print exactly which files cant be removed (e.g. spellchecker/xyz.cfs) when cleaning up test temp data
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
658c5f01bd
commit
bd1a237061
|
@ -483,6 +483,7 @@ public class SolrTestCaseJ4 extends LuceneTestCaseJ4 {
|
|||
if (f.isDirectory()) {
|
||||
for (File sub : f.listFiles()) {
|
||||
if (!recurseDelete(sub)) {
|
||||
System.err.println("!!!! WARNING: best effort to remove " + sub.getAbsolutePath() + " FAILED !!!!!");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -402,6 +402,7 @@ public abstract class AbstractSolrTestCase extends LuceneTestCase {
|
|||
if (f.isDirectory()) {
|
||||
for (File sub : f.listFiles()) {
|
||||
if (!recurseDelete(sub)) {
|
||||
System.err.println("!!!! WARNING: best effort to remove " + sub.getAbsolutePath() + " FAILED !!!!!");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue