lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwe...@apache.org
Subject svn commit: r1585042 - in /lucene/dev/trunk: ./ lucene/ lucene/test-framework/ lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
Date Sat, 05 Apr 2014 10:38:33 GMT
Author: dweiss
Date: Sat Apr  5 10:38:32 2014
New Revision: 1585042

URL: http://svn.apache.org/r1585042
Log:
Added reporting of the test's temporary location in case of a failure.

Modified:
    lucene/dev/trunk/   (props changed)
    lucene/dev/trunk/lucene/   (props changed)
    lucene/dev/trunk/lucene/test-framework/   (props changed)
    lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java

Modified: lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java?rev=1585042&r1=1585041&r2=1585042&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
(original)
+++ lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
Sat Apr  5 10:38:32 2014
@@ -2360,6 +2360,13 @@ public abstract class LuceneTestCase ext
             throw e;
           }
         }
+      } else {
+        synchronized (cleanupQueue) {
+          if (tempDirBase != null) {
+            System.err.println("NOTE: leaving temporary files on disk at: " +
+                tempDirBase.getAbsolutePath());
+          }
+        }
       }
     }
   }



Mime
View raw message