You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2011/05/28 21:49:37 UTC

svn commit: r1128762 - /lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/util/LuceneTestCase.java

Author: rmuir
Date: Sat May 28 19:49:36 2011
New Revision: 1128762

URL: http://svn.apache.org/viewvc?rev=1128762&view=rev
Log:
LUCENE-3147: fail the test if we cannot delete its tempdir

Modified:
    lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/util/LuceneTestCase.java

Modified: lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/util/LuceneTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/util/LuceneTestCase.java?rev=1128762&r1=1128761&r2=1128762&view=diff
==============================================================================
--- lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/util/LuceneTestCase.java (original)
+++ lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/util/LuceneTestCase.java Sat May 28 19:49:36 2011
@@ -469,6 +469,7 @@ public abstract class LuceneTestCase ext
             if (ste.getClassName().indexOf("org.apache.lucene") == -1) break; 
             System.err.println("\t" + ste);
           }
+          fail("could not remove temp dir: " + entry.getKey());
         }
       }
     }