lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r485988 - in /lucene/java/trunk: CHANGES.txt src/test/org/apache/lucene/index/TestFieldsReader.java
Date Tue, 12 Dec 2006 02:44:43 GMT
Author: gsingers
Date: Mon Dec 11 18:44:42 2006
New Revision: 485988

URL: http://svn.apache.org/viewvc?view=rev&rev=485988
Log:
LUCENE 744 - Appended user.name property onto the directory that gets created in temp so that
there aren't naming clashes.

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?view=diff&rev=485988&r1=485987&r2=485988
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Mon Dec 11 18:44:42 2006
@@ -313,6 +313,7 @@
 Test Cases
   1. Added TestTermScorer.java (Grant Ingersoll)
   2. Added TestWindowsMMap.java (Benson Margulies via Mike McCandless)
+  3. LUCENE-744 Append the user.name property onto the temporary directory that is created
so it doesn't interfere with other users. (Grant Ingersoll)
 
 Documentation
 

Modified: lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java?view=diff&rev=485988&r1=485987&r2=485988
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java Mon Dec 11 18:44:42
2006
@@ -164,7 +164,8 @@
    */
   public void testLazyPerformance() throws Exception {
     String tmpIODir = System.getProperty("java.io.tmpdir");
-    String path = tmpIODir + File.separator + "lazyDir";
+    String userName = System.getProperty("user.name");
+    String path = tmpIODir + File.separator + "lazyDir" + userName;
     File file = new File(path);
     FSDirectory tmpDir = FSDirectory.getDirectory(file, true);
     assertTrue(tmpDir != null);



Mime
View raw message