lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1209349 - /lucene/dev/trunk/lucene/src/test-framework/java/org/apache/lucene/util/LuceneJUnitResultFormatter.java
Date Fri, 02 Dec 2011 03:14:40 GMT
Author: rmuir
Date: Fri Dec  2 03:14:40 2011
New Revision: 1209349

URL: http://svn.apache.org/viewvc?rev=1209349&view=rev
Log:
LUCENE-3452: fix lockdir fix lost during test-framework move

Modified:
    lucene/dev/trunk/lucene/src/test-framework/java/org/apache/lucene/util/LuceneJUnitResultFormatter.java

Modified: lucene/dev/trunk/lucene/src/test-framework/java/org/apache/lucene/util/LuceneJUnitResultFormatter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/test-framework/java/org/apache/lucene/util/LuceneJUnitResultFormatter.java?rev=1209349&r1=1209348&r2=1209349&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/test-framework/java/org/apache/lucene/util/LuceneJUnitResultFormatter.java
(original)
+++ lucene/dev/trunk/lucene/src/test-framework/java/org/apache/lucene/util/LuceneJUnitResultFormatter.java
Fri Dec  2 03:14:40 2011
@@ -66,7 +66,8 @@ public class LuceneJUnitResultFormatter 
   private static final org.apache.lucene.store.Lock lock;
 
   static {
-    File lockDir = new File(System.getProperty("java.io.tmpdir"),
+    File lockDir = new File(
+        System.getProperty("tests.lockdir", System.getProperty("java.io.tmpdir")),
         "lucene_junit_lock");
     lockDir.mkdirs();
     if (!lockDir.exists()) {



Mime
View raw message